summaryrefslogtreecommitdiff
path: root/lang/erlang/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/patches/patch-ac')
-rw-r--r--lang/erlang/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/erlang/patches/patch-ac b/lang/erlang/patches/patch-ac
new file mode 100644
index 00000000000..ad563f0c765
--- /dev/null
+++ b/lang/erlang/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2006/01/01 18:24:58 kristerw Exp $
+
+--- erts/configure.orig 2006-01-01 17:45:43.000000000 +0100
++++ erts/configure 2006-01-01 17:46:23.000000000 +0100
+@@ -5724,7 +5724,7 @@
+ __asm__ __volatile__("fldcw %0" : : "m"(cw));
+ }
+
+-#if defined(__x86_64__)
++#if defined(__x86_64__) && !defined(__NetBSD__)
+ static void unmask_sse2(void)
+ {
+ unsigned int mxcsr;