ports/www/iridium/patches/patch-third_party_wayland_BUILD_gn

15 lines
494 B
Text

Index: third_party/wayland/BUILD.gn
--- third_party/wayland/BUILD.gn.orig
+++ third_party/wayland/BUILD.gn
@@ -22,6 +22,11 @@ config("wayland_config") {
"src/src",
]
+ if (is_bsd) {
+ include_dirs += [ "/usr/local/include/libepoll-shim" ]
+ libs = [ "epoll-shim" ]
+ }
+
# Client/Server headers are automatically generated. Though, we still need
# to pass the path where these headers are located.
include_dirs += [ "$root_gen_dir/third_party/wayland/src/protocol" ]