aboutsummaryrefslogblamecommitdiff
path: root/devel/electron23/files/patch-third__party_wayland_BUILD.gn
blob: 4d919144759665eb984eb530512afb3c67f8b852 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                             
--- third_party/wayland/BUILD.gn.orig	2023-02-01 18:43:48 UTC
+++ 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" ]