summaryrefslogtreecommitdiff
path: root/net/mrt/patches/patch-ah
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-21 13:30:12 +0000
committerobache <obache@pkgsrc.org>2007-12-21 13:30:12 +0000
commit9ce8e066fe40cc1e67b3696287d939ea67c1d2e0 (patch)
tree0122bfd3b6768c4633aedf910a6bad24039e71f0 /net/mrt/patches/patch-ah
parente9bf611c638fd139a19ff98bd901f4eedd175fb5 (diff)
downloadpkgsrc-9ce8e066fe40cc1e67b3696287d939ea67c1d2e0.tar.gz
Fix build problems with gcc4.
* invalid lvalue cast * static v.s. extern
Diffstat (limited to 'net/mrt/patches/patch-ah')
-rw-r--r--net/mrt/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mrt/patches/patch-ah b/net/mrt/patches/patch-ah
new file mode 100644
index 00000000000..921a6b0b6f3
--- /dev/null
+++ b/net/mrt/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2007/12/21 13:30:13 obache Exp $
+
+--- lib/rib/rib.c.orig 2000-05-23 08:01:00.000000000 +0000
++++ lib/rib/rib.c
+@@ -14,8 +14,6 @@ int num_active_generic_attr = 0;
+ int num_active_route_head = 0;
+ int num_active_route_node = 0;
+
+-static rib_t *RIBS[AFI_MAX][SAFI_MAX];
+-
+ static void rib_flush_route (int proto, int afi, int safi);
+ static nexthop_t *rib_find_best_route (prefix_t *prefix, int safi);
+