diff options
Diffstat (limited to 'lang/smlnj/patches/patch-src_runtime_mach-dep_unix-prof.c')
-rw-r--r-- | lang/smlnj/patches/patch-src_runtime_mach-dep_unix-prof.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/smlnj/patches/patch-src_runtime_mach-dep_unix-prof.c b/lang/smlnj/patches/patch-src_runtime_mach-dep_unix-prof.c new file mode 100644 index 00000000000..68f6c2eea38 --- /dev/null +++ b/lang/smlnj/patches/patch-src_runtime_mach-dep_unix-prof.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_mach-dep_unix-prof.c,v 1.1 2016/04/14 21:58:22 dholland Exp $ + +Use own abstractions correctly. + +--- src/runtime/mach-dep/unix-prof.c~ 2005-01-18 17:58:39.000000000 +0000 ++++ src/runtime/mach-dep/unix-prof.c +@@ -34,7 +34,7 @@ void EnableProfSignals () + */ + void DisableProfSignals () + { +- SIG_SetHandler (SIGVTALRM, SIG_DFL); ++ SIG_SetDefault (SIGVTALRM); + + } /* end of DisableProfSignals */ + |