summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1998-11-26 17:43:47 +0000
committerbad <bad@pkgsrc.org>1998-11-26 17:43:47 +0000
commitd8afd682fc0b28df49edb6277546eae260120096 (patch)
treeaed3409d75ca09e63bacc7dae415d40529bc70a4 /lang
parent8e64514ae137881804cc1d32615ce95865f71bb1 (diff)
downloadpkgsrc-d8afd682fc0b28df49edb6277546eae260120096.tar.gz
Can't rely on NSIG indicating that signal.h has been included.
(Random crap includes sys/signal.h which defines NSIG.) Fixes various signal related problems after 1.3H.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/perl5/patches/patch-ah b/lang/perl5/patches/patch-ah
new file mode 100644
index 00000000000..2e84a6331f5
--- /dev/null
+++ b/lang/perl5/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 1998/11/26 17:43:47 bad Exp $
+
+--- unixish.h.orig Mon Sep 22 13:46:47 1997
++++ unixish.h Thu Nov 26 17:18:58 1998
+@@ -81,7 +81,7 @@
+ */
+ /* #define ALTERNATE_SHEBANG "#!" / **/
+
+-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
++#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__)
+ # include <signal.h>
+ #endif
+