FAIL compiling x11/libinput

From: Geo B.R. <igeo.cu_at_gmail.com>
Date: Wed, 11 Oct 2023 17:27:34 UTC
Hi,

After update ports tree:

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

STDERR:

[ 83% 86/103] 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
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


Regards,
-- 
*Unix philosophy: "Write programs that do one thing and do it well. Write
programs to work together. Write programs to handle text streams, because
that is a universal interface." - Douglas McIlroy, former head of Bell Labs
Computing Sciences Research Center. Long Life Unix-like!
<https://en.wikipedia.org/wiki/Unix-like>*

Geo C.V. <https://www.linkedin.com/in/geobarrod/>