maintainer-feedback requested: [Bug 274415] x11/libinput

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Oct 2023 19:48:27 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 274415: x11/libinput
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274415



--- Description ---
FAIL compiling x11/libinput in stable/14 after update ports tree:
=================================================================

commit 6eb667800d65bda6f4181373b7d686ec496ee745 (HEAD -> main, origin/main,
origin/HEAD)


Build error log:
================

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/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/gudev-1.0 -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.
ninja: build stopped: subcommand failed.
*** Error code 1