diff options
author | kristerw <kristerw@pkgsrc.org> | 2006-01-01 18:24:58 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2006-01-01 18:24:58 +0000 |
commit | 5922f27089190fe1f4e9125ec508c1f1cd439f2b (patch) | |
tree | 036b91bd636ebbd0207bd541c814476d98054704 /lang/erlang/patches | |
parent | 2c5c5f56b53d506972e98be8597011e3b5e9fb52 (diff) | |
download | pkgsrc-5922f27089190fe1f4e9125ec508c1f1cd439f2b.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/erlang/patches')
-rw-r--r-- | lang/erlang/patches/patch-ac | 13 | ||||
-rw-r--r-- | lang/erlang/patches/patch-ad | 13 |
2 files changed, 26 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; 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; |