pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/gated Fixed gcc4 build failures.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49d0cabbc1f6
branches:  trunk
changeset: 537243:49d0cabbc1f6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 05 15:15:01 2008 +0000

description:
Fixed gcc4 build failures.

diffstat:

 net/gated/distinfo         |   4 +++-
 net/gated/patches/patch-if |  17 +++++++++++++++++
 net/gated/patches/patch-is |  23 +++++++++++++++++++++++
 3 files changed, 43 insertions(+), 1 deletions(-)

diffs (63 lines):

diff -r 43ca971d26a2 -r 49d0cabbc1f6 net/gated/distinfo
--- a/net/gated/distinfo        Sat Jan 05 15:04:57 2008 +0000
+++ b/net/gated/distinfo        Sat Jan 05 15:15:01 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/06/01 22:40:19 joerg Exp $
+$NetBSD: distinfo,v 1.8 2008/01/05 15:15:01 rillig Exp $
 
 SHA1 (gated-3-5-11.tar.gz) = a6abdc59beb881dee06c9433b690fa6eab99fe07
 RMD160 (gated-3-5-11.tar.gz) = 16624c1e2229fb783dd3bbc5759945e5e368c1f3
@@ -13,3 +13,5 @@
 SHA1 (patch-ai) = 93d75b6132bcd0d79c075a53c9fb121571464fc9
 SHA1 (patch-aj) = d8aab039599d1cf152d8bb39bba629c4d5d37c66
 SHA1 (patch-ak) = 04857d0be869480812138b059e303f6a3aac00e7
+SHA1 (patch-if) = 8430686ee894c1fc4f9fb58784ebf729a26083af
+SHA1 (patch-is) = 17bb369653948890a41e61f27a198075c7b22214
diff -r 43ca971d26a2 -r 49d0cabbc1f6 net/gated/patches/patch-if
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gated/patches/patch-if        Sat Jan 05 15:15:01 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-if,v 1.1 2008/01/05 15:15:01 rillig Exp $
+
+if.c:130: error: static declaration of 'if_change_bits' follows non-static declaration
+if.h:82: error: previous declaration of 'if_change_bits' was here
+
+--- src/if.h.orig      1999-02-18 00:30:22.000000000 +0100
++++ src/if.h   2008-01-05 16:09:39.000000000 +0100
+@@ -79,9 +79,6 @@
+  * Physical interface information
+  */
+ 
+-extern const bits if_change_bits[];             /* Interface flag bits */
+-extern const bits if_proto_bits[];
+-
+ struct _if_link {
+       struct _if_link *ifl_forw;
+       struct _if_link *ifl_back;
diff -r 43ca971d26a2 -r 49d0cabbc1f6 net/gated/patches/patch-is
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gated/patches/patch-is        Sat Jan 05 15:15:01 2008 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-is,v 1.1 2008/01/05 15:15:02 rillig Exp $
+
+isis_spf.c:530: error: invalid storage class for function 'print_route'
+
+--- src/isis_spf.c.orig        1999-02-18 00:30:52.000000000 +0100
++++ src/isis_spf.c     2008-01-05 16:12:36.000000000 +0100
+@@ -518,6 +518,8 @@ get_graph_entry __PF3(sysid, char *,
+  * the pending database.  This routine only supports the 
+  * default metric for now.
+  */ 
++static void print_route __PF3(gpt, GRAPH_PT, logPri, int, printOld, int);
++
+ static void
+ spf_check_pending __PF6(dbEntry, GRAPH_PT,            /* the route we had for dest (could be freshly initialized) */
+                       internal_cost, int,             /* internal cost for the new route */
+@@ -527,7 +529,6 @@ spf_check_pending __PF6(dbEntry, GRAPH_P
+                                                       /* neighbors, added by init_paths) */
+                       asp, as_path *)
+ {
+-      static void print_route();
+       int destType = dbEntry->g.gtype;
+ 
+ #define       UseNewRoute \



Home | Main Index | Thread Index | Old Index