[Bug 273354] x11/libinput: fails to build on stable/14
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 273354] x11/libinput: fails to build on stable/14"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 14:49:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273354 --- Comment #6 from Guido Falsi <madpilot@FreeBSD.org> --- (In reply to Tomoaki AOKI from comment #5) The commit I referenced, which adds a timerfd implementation to FreeBSD, and so add a timerfd.h file to out includes, happened shortly before stable/14 was branched. The problem will happen to anyone trying to compile libinput on FreeBSD installed from sources after that commit. SO it applies to head after that commit (14 for a short while later renamed to 15) and also to stable/14. This simple patch fixes the issue. I'm not sure what you mean by dependency hell. poudriere usage has no relation to this, this only depends on the presence of the new timerfd.h include in the installed system. If no such include is present in the installed system, the port will grab the one installed by devel/libepoll-shim which was recently fixed to work on head after this commit. The timerfd.h installed by it does not cause params.h to be included and no NOFILE symbol is defined. Please note that devel/libepoll-shim will not install any timerfd.h file on systems that already have one. So, this patch should be included in FreeBSD, and x11@ declared a one week timeout is of with their ports, so I'll respect that. This should also be sent upstream, if Kenneth Raplee wants to do it please go ahead. -- You are receiving this mail because: You are the assignee for the bug.