summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp')
-rw-r--r--www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp b/www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp
new file mode 100644
index 00000000000..3007730090f
--- /dev/null
+++ b/www/firefox52/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+--- media/libsoundtouch/src/cpu_detect_x86.cpp.orig 2014-04-18 02:03:48.000000000 +0000
++++ media/libsoundtouch/src/cpu_detect_x86.cpp
+@@ -130,7 +130,9 @@ uint detectCPUextensions(void)
+ #endif
+
+ return res & ~_dwDisabledISA;
+-
++#elif defined(__GNUC__)
++ // No cpuid.h --> no cpuid support
++ return 0;
+ #else
+
+ /// One of these is true: