summaryrefslogtreecommitdiff
path: root/lang/gawk/patches
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2005-05-15 16:38:28 +0000
committerbouyer <bouyer@pkgsrc.org>2005-05-15 16:38:28 +0000
commit34315dcad1631c199630891a915a0033c54e8798 (patch)
tree712ae478c5edc4275d07ef9eec5c26263bf20b1b /lang/gawk/patches
parent158412a70a32e0e46aec83182578e8745ad7c41f (diff)
downloadpkgsrc-34315dcad1631c199630891a915a0033c54e8798.tar.gz
Remove some local declarations which breaks compilation on DragonFly.
Patch provided by Joerg Sonnenberger in private mail.
Diffstat (limited to 'lang/gawk/patches')
-rw-r--r--lang/gawk/patches/patch-af18
1 files changed, 17 insertions, 1 deletions
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];