summaryrefslogtreecommitdiff
path: root/net/gated
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-05 15:15:01 +0000
committerrillig <rillig@pkgsrc.org>2008-01-05 15:15:01 +0000
commitc525b1005c348ea3cc8edd572943d81b6f75980f (patch)
tree0b6bb7d1124b8ac4dfb6e15d806559d9f4ec2068 /net/gated
parent774cf291f95e246a3995d4f6ba7ea4e16e55b78e (diff)
downloadpkgsrc-c525b1005c348ea3cc8edd572943d81b6f75980f.tar.gz
Fixed gcc4 build failures.
Diffstat (limited to 'net/gated')
-rw-r--r--net/gated/distinfo4
-rw-r--r--net/gated/patches/patch-if17
-rw-r--r--net/gated/patches/patch-is23
3 files changed, 43 insertions, 1 deletions
diff --git a/net/gated/distinfo b/net/gated/distinfo
index 9504b21cfdd..c5c51045931 100644
--- a/net/gated/distinfo
+++ b/net/gated/distinfo
@@ -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-ah) = b1ebbf21e0bf8978503ff4b40f5019c02a2d619a
SHA1 (patch-ai) = 93d75b6132bcd0d79c075a53c9fb121571464fc9
SHA1 (patch-aj) = d8aab039599d1cf152d8bb39bba629c4d5d37c66
SHA1 (patch-ak) = 04857d0be869480812138b059e303f6a3aac00e7
+SHA1 (patch-if) = 8430686ee894c1fc4f9fb58784ebf729a26083af
+SHA1 (patch-is) = 17bb369653948890a41e61f27a198075c7b22214
diff --git a/net/gated/patches/patch-if b/net/gated/patches/patch-if
new file mode 100644
index 00000000000..9a2a792efbd
--- /dev/null
+++ b/net/gated/patches/patch-if
@@ -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 --git a/net/gated/patches/patch-is b/net/gated/patches/patch-is
new file mode 100644
index 00000000000..80ce37317f2
--- /dev/null
+++ b/net/gated/patches/patch-is
@@ -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 \