aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-build_detect__host__arch.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-build_detect__host__arch.py')
-rw-r--r--devel/electron38/files/patch-build_detect__host__arch.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-build_detect__host__arch.py b/devel/electron38/files/patch-build_detect__host__arch.py
new file mode 100644
index 000000000000..673554933a91
--- /dev/null
+++ b/devel/electron38/files/patch-build_detect__host__arch.py
@@ -0,0 +1,11 @@
+--- build/detect_host_arch.py.orig 2023-03-30 00:33:39 UTC
++++ build/detect_host_arch.py
+@@ -20,6 +20,8 @@ def HostArch():
+ host_arch = 'ia32'
+ elif host_arch in ['x86_64', 'amd64']:
+ host_arch = 'x64'
++ elif host_arch.startswith('arm64'):
++ host_arch = 'arm64'
+ elif host_arch.startswith('arm'):
+ host_arch = 'arm'
+ elif host_arch.startswith('aarch64'):