pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gawk Remove some local declarations which breaks ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bac9c5c18b6
branches:  trunk
changeset: 493819:2bac9c5c18b6
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun May 15 16:38:28 2005 +0000

description:
Remove some local declarations which breaks compilation on DragonFly.
Patch provided by Joerg Sonnenberger in private mail.

diffstat:

 lang/gawk/distinfo         |   4 ++--
 lang/gawk/patches/patch-af |  18 +++++++++++++++++-
 2 files changed, 19 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r e71f427642d2 -r 2bac9c5c18b6 lang/gawk/distinfo
--- a/lang/gawk/distinfo        Sun May 15 16:37:47 2005 +0000
+++ b/lang/gawk/distinfo        Sun May 15 16:38:28 2005 +0000
@@ -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 -r e71f427642d2 -r 2bac9c5c18b6 lang/gawk/patches/patch-af
--- a/lang/gawk/patches/patch-af        Sun May 15 16:37:47 2005 +0000
+++ b/lang/gawk/patches/patch-af        Sun May 15 16:38:28 2005 +0000
@@ -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 @@
  #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];



Home | Main Index | Thread Index | Old Index