pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/irrd Fix build with gcc-4.1. Do not have static an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c64098947310
branches: trunk
changeset: 515656:c64098947310
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jul 05 21:39:42 2006 +0000
description:
Fix build with gcc-4.1. Do not have static and global variables
of the same name.
diffstat:
net/irrd/distinfo | 3 ++-
net/irrd/patches/patch-ac | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r a57fb627085d -r c64098947310 net/irrd/distinfo
--- a/net/irrd/distinfo Wed Jul 05 21:32:57 2006 +0000
+++ b/net/irrd/distinfo Wed Jul 05 21:39:42 2006 +0000
@@ -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 -r a57fb627085d -r c64098947310 net/irrd/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/irrd/patches/patch-ac Wed Jul 05 21:39:42 2006 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index