summaryrefslogtreecommitdiff
path: root/lang/erlang/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang/patches/patch-ad')
-rw-r--r--lang/erlang/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/erlang/patches/patch-ad b/lang/erlang/patches/patch-ad
new file mode 100644
index 00000000000..c3d929874dd
--- /dev/null
+++ b/lang/erlang/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/01/01 18:24:58 kristerw Exp $
+
+--- erts/emulator/sys/unix/sys_float.c.orig 2006-01-01 17:46:42.000000000 +0100
++++ erts/emulator/sys/unix/sys_float.c 2006-01-01 17:47:07.000000000 +0100
+@@ -52,7 +52,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;