[Bug 241724] x11-wm/compton-yshui: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 5 06:11:50 UTC 2019


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

            Bug ID: 241724
           Summary: x11-wm/compton-yshui: 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: jbeich at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(jbeich at FreeBSD.org)

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

Include sys/types.h before sysctl.h in test.h to fix build with GCC:
In file included from ../subprojects/test.h/test.h:14,
                 from ../src/string_utils.c:6:
/usr/include/sys/sysctl.h:1101:25: error: unknown type name 'u_int'; did you
mean 'int'?
 1101 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
      |                         ^~~~~
      |                         int

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


More information about the freebsd-ports-bugs mailing list