diff options
author | bouyer <bouyer@pkgsrc.org> | 2005-05-15 16:38:28 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2005-05-15 16:38:28 +0000 |
commit | 34315dcad1631c199630891a915a0033c54e8798 (patch) | |
tree | 712ae478c5edc4275d07ef9eec5c26263bf20b1b | |
parent | 158412a70a32e0e46aec83182578e8745ad7c41f (diff) | |
download | pkgsrc-34315dcad1631c199630891a915a0033c54e8798.tar.gz |
Remove some local declarations which breaks compilation on DragonFly.
Patch provided by Joerg Sonnenberger in private mail.
-rw-r--r-- | lang/gawk/distinfo | 4 | ||||
-rw-r--r-- | lang/gawk/patches/patch-af | 18 |
2 files changed, 19 insertions, 3 deletions
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo index 5a91a97def4..b1bd220fa64 100644 --- a/lang/gawk/distinfo +++ b/lang/gawk/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.14 2005/02/24 09:03:07 agc Exp $ +$NetBSD: distinfo,v 1.15 2005/05/15 16:38:28 bouyer Exp $ SHA1 (gawk-3.1.4.tar.bz2) = ba50753eca7518d5a13fa9a1e1333562cd8477ca RMD160 (gawk-3.1.4.tar.bz2) = d90e6fcc15cb205cbd7452284c567ab5c6840411 Size (gawk-3.1.4.tar.bz2) = 1732494 bytes SHA1 (patch-aa) = 52740979223e5e9f36ea1f6d758399a946a1ea29 SHA1 (patch-ab) = c0ffd2cc29104e5fefb123a353388d991dc62635 -SHA1 (patch-af) = dac29f99def7a70f17aaeb1cb3662ce48008755c +SHA1 (patch-af) = 09b66c3552a8792b516845c371163aae41e29c94 diff --git a/lang/gawk/patches/patch-af b/lang/gawk/patches/patch-af index b539218c2b7..b31c5d13b5f 100644 --- a/lang/gawk/patches/patch-af +++ b/lang/gawk/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.1 2002/12/12 03:17:15 dmcmahill Exp $ +$NetBSD: patch-af,v 1.2 2005/05/15 16:38:28 bouyer Exp $ hit with big hammer. Unfortunately awk.h #define's proc which breaks 'struct proc' so we make sure we pull all that stuff in first. @@ -44,3 +44,19 @@ breaks 'struct proc' so we make sure we pull all that stuff in first. #include "awk.h" #ifdef HAVE_SYS_PARAM_H +@@ -2024,7 +2056,6 @@ + int pid; + int status = 0; + struct redirect *redp; +- extern int errno; + + hstat = signal(SIGHUP, SIG_IGN); + istat = signal(SIGINT, SIG_IGN); +@@ -2205,7 +2236,6 @@ + static IOBUF * + gawk_popen(const char *cmd, struct redirect *rp) + { +- extern char *strdup P((const char *)); + int current; + char *name; + static char cmdbuf[256]; |