[Bug 273354] x11/libinput: fails to build on stable/14

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273354

Guido Falsi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Guido Falsi <[email protected]> ---
(In reply to Kenneth Raplee from comment #2)

I've seen this with recent head (post 15). I've fixed in an almost identical
way (I used a different name)

I noticed this is caused by the addition of /usr/include/sys/timerfd.h in
https://cgit.freebsd.org/src/commit/?id=af93fea710385b2b11f0cabd377e7ed6f3d97c34

libinput includes this file, but the new file causes /usr/include/sys/param.h
to also be included, that defines NOFILE, producing this error.

Since that NOFILE definition is local to that source file, I think this is the
correct fix.

I'm posting a patch shortly to help the maintainer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.