[Bug 239368] java/openjdk8: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 21 20:50:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239368

            Bug ID: 239368
           Summary: java/openjdk8: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: java at FreeBSD.org
             Flags: maintainer-feedback?(java at FreeBSD.org)

Created attachment 205978
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205978&action=edit
patch

In hotspot/agent/src/os/bsd/ps_proc.c move include sys/sysctl.h after include
sys/types.h.

Otherwise build fails with:
/usr/include/sys/sysctl.h:1062: error: expected declaration specifiers or '...'
before 'u_int'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list