From 074009c945cc68a322e2a4bc11a6f982bc720011 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 13 Mar 2020 09:40:00 +0000 Subject: Add electron7 7.1.14, build cross-platform desktop apps with JavaScript, HTML, and CSS. --- devel/electron7/files/patch-build_config_sysroot.gni | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/electron7/files/patch-build_config_sysroot.gni (limited to 'devel/electron7/files/patch-build_config_sysroot.gni') diff --git a/devel/electron7/files/patch-build_config_sysroot.gni b/devel/electron7/files/patch-build_config_sysroot.gni new file mode 100644 index 000000000000..9d0cc2cc00e8 --- /dev/null +++ b/devel/electron7/files/patch-build_config_sysroot.gni @@ -0,0 +1,15 @@ +--- build/config/sysroot.gni.orig 2019-12-12 12:38:59 UTC ++++ build/config/sysroot.gni +@@ -15,9 +15,10 @@ declare_args() { + # The absolute path to directory containing linux sysroot images + target_sysroot_dir = "//build/linux" + +- use_sysroot = current_cpu == "x86" || current_cpu == "x64" || ++ use_sysroot = !is_bsd && ( ++ current_cpu == "x86" || current_cpu == "x64" || + current_cpu == "arm" || current_cpu == "arm64" || +- current_cpu == "mipsel" || current_cpu == "mips64el" ++ current_cpu == "mipsel" || current_cpu == "mips64el") + } + + if (current_os == target_os && current_cpu == target_cpu && -- cgit v1.2.3