opnsense-ports/devel/electron22/files/patch-third__party_wayland_features.gni
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

20 lines
649 B
Text

--- third_party/wayland/features.gni.orig 2022-11-30 08:12:58 UTC
+++ third_party/wayland/features.gni
@@ -21,12 +21,15 @@ declare_args() {
declare_args() {
# Path to the wayland-scanner in the sysroot.
- assert(host_os == "linux")
if (use_system_wayland_scanner) {
if (use_sysroot) {
system_wayland_scanner_path = "$sysroot/usr/bin/wayland-scanner"
} else {
- system_wayland_scanner_path = "/usr/bin/wayland-scanner"
+ if (is_bsd) {
+ system_wayland_scanner_path = "/usr/local/bin/wayland-scanner"
+ } else {
+ system_wayland_scanner_path = "/usr/bin/wayland-scanner"
+ }
}
}
}