Bug 232448 - graphics/wayland: expose libepoll-shim flags to consumers
Summary: graphics/wayland: expose libepoll-shim flags to consumers
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-10-19 15:30 UTC by Jan Beich
Modified: 2018-10-19 15:38 UTC (History)
0 users

See Also:


Attachments
v1 (2.91 KB, patch)
2018-10-19 15:30 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2018-10-19 15:30:01 UTC
Created attachment 198369 [details]
v1

www/firefox supports Wayland but the build currently fails because it assumes epoll is also available. Adding FreeBSD quirks looks undesirable from upstream POV and they may change or disappear in future. Why not treat libepoll-shim as an implementation detail of libwayland*?

$ nm -A /usr/local/lib/libwayland*.so | fgrep -w epoll_create
/usr/local/lib/libwayland-client.so:                 U epoll_create
/usr/local/lib/libwayland-server.so:                 U epoll_create
Comment 1 Jan Beich freebsd_committer freebsd_triage 2018-10-19 15:38:32 UTC
Doh, www/firefox doesn't use epoll, so <sys/epoll.h> looks unused. Closing as I've lost interest.