maintainer-feedback requested: [Bug 273354] x11/libinput: fails to build on stable/14

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Aug 2023 03:12:06 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 273354: x11/libinput: fails to build on stable/14
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273354



--- Description ---
I think this affects both 14 and 15 users and it's related to libepoll-shim
since it was recently fixed.

FAILED: libinput-record.p/tools_libinput-record.c.o 
cc -Ilibinput-record.p -I. -I.. -I../src -I../include
-I/usr/local/include/libepoll-shim -I/usr/local/include
-I/usr/local/include/libevdev-1.0 -I/usr/local/include/libwacom-1.0
-I/usr/local/include/gudev-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -fno-color-diagnostics -D_FILE_OFFSET_BITS=64
-Wall -Winvalid-pch -Wextra -std=gnu99 -Wno-unused-parameter
-Wmissing-prototypes -Wstrict-prototypes -Wundef -Wpointer-arith
-Wuninitialized -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough
-Wredundant-decls -Wincompatible-pointer-types -Wformat=2
-Wno-missing-field-initializers -Wmissing-declarations -fvisibility=hidden -O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-isystem /usr/local/include -MD -MQ libinput-record.p/tools_libinput-record.c.o
-MF libinput-record.p/tools_libinput-record.c.o.d -o
libinput-record.p/tools_libinput-record.c.o -c ../tools/libinput-record.c
../tools/libinput-record.c:2580:2: error: expected identifier
	NOFILE,
	^
/usr/include/sys/param.h:133:17: note: expanded from macro 'NOFILE'
#define NOFILE		OPEN_MAX	/* max open files per process */
			^
/usr/include/sys/syslimits.h:60:22: note: expanded from macro 'OPEN_MAX'
#define OPEN_MAX		   64	/* max open files per process */
				   ^
1 error generated.