summaryrefslogtreecommitdiff
path: root/lang/gawk
diff options
context:
space:
mode:
authorbouyer <bouyer>2005-05-15 16:38:28 +0000
committerbouyer <bouyer>2005-05-15 16:38:28 +0000
commitd6c99e70f8b1d556953c11ebe3ed92b95e1117f2 (patch)
tree712ae478c5edc4275d07ef9eec5c26263bf20b1b /lang/gawk
parentb1332d778b43d402e6d138cfdec79d59848706ac (diff)
downloadpkgsrc-d6c99e70f8b1d556953c11ebe3ed92b95e1117f2.tar.gz
Remove some local declarations which breaks compilation on DragonFly.
Patch provided by Joerg Sonnenberger in private mail.
Diffstat (limited to 'lang/gawk')
-rw-r--r--lang/gawk/distinfo4
-rw-r--r--lang/gawk/patches/patch-af18
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];