$NetBSD: patch-third__party_wayland_BUILD.gn,v 1.12 2025/12/13 14:54:03 kikadf Exp $ * Part of patchset to build chromium on NetBSD * Based on OpenBSD's chromium patches, and pkgsrc's qt5-qtwebengine patches --- third_party/wayland/BUILD.gn.orig 2025-11-19 21:40:05.000000000 +0000 +++ third_party/wayland/BUILD.gn @@ -24,6 +24,11 @@ if (!use_system_libwayland) { "src/src", ] + if (is_bsd) { + include_dirs += [ "@PREFIX@/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" ]