Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2019 06:11:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241724] x11-wm/compton-yshui: fix build on GCC architectures
Message-ID:  <bug-241724-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241724

            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@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Created attachment 208869
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208869&action=
=3Dedit
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241724-7788>