[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273354

            Bug ID: 273354
           Summary: x11/libinput: fails to build on stable/14
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: kenrap@kennethraplee.com
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.