maintainer-feedback requested: [Bug 273348] devel/libepoll-shim: build fails after base af93fea71038

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Aug 2023 13:29:00 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 273348: devel/libepoll-shim: build fails after base af93fea71038
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273348



--- Description ---
[...]
-- Looking for timerfd_create
-- Looking for timerfd_create - found
[...]
===>  Building package for libepoll-shim-0.0.20230411
pkg-static: Unable to access file
/wrkdirs/usr/ports/devel/libepoll-shim/work/stage/usr/local/include/libepoll-sh
im/sys/timerfd.h:No
such file or directory
*** Error code 1
[...]

Patching Makefile to account for pkg-plist then results in x11/libinput build
failure:
[...]
../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.
[...]