diff options
author | wiz <wiz@pkgsrc.org> | 2006-07-05 21:39:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-07-05 21:39:42 +0000 |
commit | c880453683c83e1f3798a2b7586e3f07458e3e45 (patch) | |
tree | 40a598abe069e7ae37b183a42482eba183a9b6ec | |
parent | d248b13c00e965bd9580d29eb39b128b26213b97 (diff) | |
download | pkgsrc-c880453683c83e1f3798a2b7586e3f07458e3e45.tar.gz |
Fix build with gcc-4.1. Do not have static and global variables
of the same name.
-rw-r--r-- | net/irrd/distinfo | 3 | ||||
-rw-r--r-- | net/irrd/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net/irrd/distinfo b/net/irrd/distinfo index b5ad819ea68..b539af1a14b 100644 --- a/net/irrd/distinfo +++ b/net/irrd/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.10 2006/05/26 09:20:21 adam Exp $ +$NetBSD: distinfo,v 1.11 2006/07/05 21:39:42 wiz Exp $ SHA1 (irrd2.2.8.tgz) = cfaf5fb6e4abdd2bce8de0233231dd2514c5d111 RMD160 (irrd2.2.8.tgz) = 74688380c6cdcc8ddaa5ebf8705c10922f02fb8b Size (irrd2.2.8.tgz) = 693852 bytes SHA1 (patch-aa) = 3059131bad8df2071ae64ea5e9d0c6f858a7ae2e SHA1 (patch-ab) = d9172a35b907dbaac24ef7b72fcce05310d674bd +SHA1 (patch-ac) = 5ea304aad5a2b3a2e835e63ac58ebbb83f12a5c3 diff --git a/net/irrd/patches/patch-ac b/net/irrd/patches/patch-ac new file mode 100644 index 00000000000..ceda934bfe2 --- /dev/null +++ b/net/irrd/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.3 2006/07/05 21:39:42 wiz Exp $ + +--- programs/irr_rpsl_check/syntax_attrs.c.orig 2004-08-26 14:04:09.000000000 +0000 ++++ programs/irr_rpsl_check/syntax_attrs.c +@@ -19,7 +19,7 @@ + extern char *attr_name[]; + extern regex_t re[]; + extern char *countries[]; +-static const char tmpfntmpl[] = "/var/tmp/irrsyntax.XXXXXX"; ++static const char localtmpfntmpl[] = "/var/tmp/irrsyntax.XXXXXX"; + + int xx_set_syntax (char *target, char *s) { + char *p; +@@ -713,7 +713,7 @@ char *hexid_check (parse_info_t *o) { + } + + /* create a file and put the key certificate into it */ +- strcpy (pgpinfn, tmpfntmpl); ++ strcpy (pgpinfn, localtmpfntmpl); + fd = mkstemp (pgpinfn); + if ((pgpin = fdopen (fd, "w")) == NULL) { + error_msg_queue (o, |