File system-wayland.patch of Package nodejs-electron

--- src/third_party/wayland/BUILD.gn.orig	2024-12-08 18:35:12.381340501 +0100
+++ src/third_party/wayland/BUILD.gn	2024-12-18 13:29:59.426062502 +0100
@@ -289,7 +289,11 @@ config("wayland_scanner_config") {
   include_dirs = [ "include/" ]
 }
 
-executable("wayland_scanner") {
+copy("wayland_scanner") {
+  sources = [ "/usr/bin/wayland-scanner" ]
+  outputs = [ "$root_out_dir/wayland_scanner" ]
+}
+executable("xwayland_scanner") {
   sources = [ "src/src/scanner.c" ]
 
   deps = [
openSUSE Build Service is sponsored by