diff options
author | wiz <wiz> | 2008-10-24 12:37:37 +0000 |
---|---|---|
committer | wiz <wiz> | 2008-10-24 12:37:37 +0000 |
commit | df67996f9543375de381dd0ab25b5441858f9a9a (patch) | |
tree | 877f9671f367b15f9091f2b5bcaebf84939751bf | |
parent | 1868821c9d10ca9cedf9ec0fec8ff186fa8f9440 (diff) | |
download | pkgsrc-df67996f9543375de381dd0ab25b5441858f9a9a.tar.gz |
Add build fix for Interix-3.5, from Bruno Haible.
-rw-r--r-- | devel/m4/distinfo | 3 | ||||
-rw-r--r-- | devel/m4/patches/patch-aa | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/devel/m4/distinfo b/devel/m4/distinfo index 9ba2fc53c82..3536dd0487e 100644 --- a/devel/m4/distinfo +++ b/devel/m4/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.25 2008/10/14 12:29:11 wiz Exp $ +$NetBSD: distinfo,v 1.26 2008/10/24 12:37:37 wiz Exp $ SHA1 (m4-1.4.12.tar.gz) = 013ca38511e17835dc1a1381cbe8e39179637a49 RMD160 (m4-1.4.12.tar.gz) = ae3cfbb621977952cc07e080b1696b5113ab603a Size (m4-1.4.12.tar.gz) = 1168821 bytes +SHA1 (patch-aa) = 67d40e140571b32fbc25f452cbb46dae38dcd51f SHA1 (patch-ac) = 5e1d6388d05b3ee6ea9e5b0a56ce5fbde310d538 SHA1 (patch-ad) = c9871719689b46193c4d688e336f9c3ff0883c79 diff --git a/devel/m4/patches/patch-aa b/devel/m4/patches/patch-aa new file mode 100644 index 00000000000..c59af44c227 --- /dev/null +++ b/devel/m4/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.11 2008/10/24 12:37:37 wiz Exp $ + +2008-10-23 Bruno Haible <bruno@clisp.org> + Define a dummy SA_NODEFER macro on Interix. + * lib/signal.in.h (SA_NODEFER): Define fallback. + Reported by Aleksey Cheusov <cheusov@tut.by> via + Thomas Klausner <wiz@netbsd.org> and Eric Blake. + +--- lib/signal.in.h.orig 2008-09-26 12:32:24.000000000 +0000 ++++ lib/signal.in.h +@@ -176,6 +176,12 @@ extern int sigaction (int, const struct + #endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */ + + ++/* Some systems don't have SA_NODEFER. */ ++#ifndef SA_NODEFER ++# define SA_NODEFER 0 ++#endif ++ ++ + #ifdef __cplusplus + } + #endif |