ports/devel/electron35/files/patch-third__party_wayland_BUILD.gn
Hiroki Tagato 3fe2f64857 devel/electron35: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2025-04-08 21:01:02 +09:00

14 lines
506 B
Text

--- third_party/wayland/BUILD.gn.orig 2024-08-14 20:56:03 UTC
+++ third_party/wayland/BUILD.gn
@@ -24,6 +24,11 @@ if (!use_system_libwayland) {
"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" ]