Created attachment 208869 [details] 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
Approved as maintainer (builds on ppcports) pending maintainer approval.
(In reply to Mark Linimon from comment #1) s/maintainer/mentor/ I blame the drive on Interstate 10.
A commit references this bug: Author: jbeich Date: Mon Nov 11 22:08:53 UTC 2019 New revision: 517287 URL: https://svnweb.freebsd.org/changeset/ports/517287 Log: x11-wm/compton-yshui: unbreak 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 PR: 241724 Submitted by: pkubaj Obtained from: upstream Changes: head/x11-wm/compton-yshui/Makefile head/x11-wm/compton-yshui/distinfo