summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2006-01-01 18:24:58 +0000
committerkristerw <kristerw@pkgsrc.org>2006-01-01 18:24:58 +0000
commit7a4670ac076f8b80ebe6076dfda7148fcce2b45a (patch)
tree036b91bd636ebbd0207bd541c814476d98054704 /lang
parent27506d188c88c0f44b393c5d9174467424d786f6 (diff)
downloadpkgsrc-7a4670ac076f8b80ebe6076dfda7148fcce2b45a.tar.gz
Floating point exceptions are enabled for __x86_64__ on all operation
systems, but the code that take care of them is inly implemented on Linux. This made the build go into an infinite loop on NetBSD. Disable floating point exceptions on NetBSD/amd64 for now, until I get around implementing and testing the necessary sigaction glue.
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/distinfo4
-rw-r--r--lang/erlang/patches/patch-ac13
-rw-r--r--lang/erlang/patches/patch-ad13
3 files changed, 29 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo
index db3a6647b51..af1b7f525c4 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.5 2005/12/30 10:32:16 ghen Exp $
+$NetBSD: distinfo,v 1.6 2006/01/01 18:24:58 kristerw Exp $
SHA1 (erlang/otp_src_R10B-9.tar.gz) = 2255209fca6101e39d7e3d5af2c074239e29d79d
RMD160 (erlang/otp_src_R10B-9.tar.gz) = e92b655d3250a6dd4c11106fbc0fb0626a5cf6e9
Size (erlang/otp_src_R10B-9.tar.gz) = 9961340 bytes
SHA1 (patch-aa) = 43eb492a22462442e3f717ee32056df11d1a0e43
SHA1 (patch-ab) = ced331e223b3b1de88426de5f18fe066ca8be028
+SHA1 (patch-ac) = f584b213db636f3be29fb4f99b9cfb85ee9374ad
+SHA1 (patch-ad) = 180db5c15a1c238773288e842f86c102614ba2a6
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;
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;