summaryrefslogtreecommitdiff
path: root/lang/sml-nj/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sml-nj/patches/patch-af')
-rw-r--r--lang/sml-nj/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/sml-nj/patches/patch-af b/lang/sml-nj/patches/patch-af
new file mode 100644
index 00000000000..37e1c3e697d
--- /dev/null
+++ b/lang/sml-nj/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2002/09/29 15:03:33 wiz Exp $
+
+--- src/runtime/mach-dep/signal-sysdep.h.orig Fri Apr 20 09:26:45 2001
++++ src/runtime/mach-dep/signal-sysdep.h
+@@ -151,7 +151,7 @@ extern void SetFSR(int);
+ /* disable all FP exceptions */
+ # define SIG_InitFPE() SetFSR(0)
+
+-# if defined(OPSYS_SUNOS)
++# if defined(OPSYS_SUNOS) || defined(OPSYS_NETBSD)
+ /** SPARC, SUNOS **/
+ # define USE_ZERO_LIMIT_PTR_FN
+ # define SIG_FAULT1 SIGFPE