summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-mozglue_build_arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-mozglue_build_arm.h')
-rw-r--r--www/firefox52/patches/patch-mozglue_build_arm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-mozglue_build_arm.h b/www/firefox52/patches/patch-mozglue_build_arm.h
new file mode 100644
index 00000000000..f5424ae53f0
--- /dev/null
+++ b/www/firefox52/patches/patch-mozglue_build_arm.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-mozglue_build_arm.h,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* Support NetBSD/earm
+
+--- mozglue/build/arm.h.orig 2015-09-29 21:45:02.000000000 +0000
++++ mozglue/build/arm.h
+@@ -76,7 +76,7 @@
+ # endif
+
+ // Currently we only have CPU detection for Linux via /proc/cpuinfo
+-# if defined(__linux__) || defined(ANDROID)
++# if defined(__linux__) || defined(ANDROID) || defined(__NetBSD__)
+ # define MOZILLA_ARM_HAVE_CPUID_DETECTION 1
+ # endif
+