summaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authorobache <obache>2007-12-21 13:30:12 +0000
committerobache <obache>2007-12-21 13:30:12 +0000
commit7bd5cbc2637b1e4b3d04fbdec4d855d058053a83 (patch)
tree0122bfd3b6768c4633aedf910a6bad24039e71f0 /net/mrt
parent767720a2738477cfc19822f2438eb89bc1ebdc5f (diff)
downloadpkgsrc-7bd5cbc2637b1e4b3d04fbdec4d855d058053a83.tar.gz
Fix build problems with gcc4.
* invalid lvalue cast * static v.s. extern
Diffstat (limited to 'net/mrt')
-rw-r--r--net/mrt/distinfo4
-rw-r--r--net/mrt/patches/patch-ag13
-rw-r--r--net/mrt/patches/patch-ah13
3 files changed, 29 insertions, 1 deletions
diff --git a/net/mrt/distinfo b/net/mrt/distinfo
index e857148c170..499d8c9625c 100644
--- a/net/mrt/distinfo
+++ b/net/mrt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/03/22 23:55:37 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/12/21 13:30:12 obache Exp $
SHA1 (mrt-2.2.2a-Aug11.tar.gz) = 6290a0b8d5539fddbd562d8dec64deb291dd3369
RMD160 (mrt-2.2.2a-Aug11.tar.gz) = e62d3b06d802757cbb1aa4225713b8bf7523ba77
@@ -9,3 +9,5 @@ SHA1 (patch-ac) = 2fc1c1f19848c90f7344813090fc7c96de121702
SHA1 (patch-ad) = bbc017a99d34ee3bd6eecad077102b10c7e83349
SHA1 (patch-ae) = 1689741472239677511a8e06357fc37f34eae4d4
SHA1 (patch-af) = 83678e7e5b1016cfd29b0b8efcc362b3500daf3f
+SHA1 (patch-ag) = 1719581ab090e77b51642f999f96b54fa8434a10
+SHA1 (patch-ah) = 38e50462c50c89ea12330cbe91ddf7f66f59dada
diff --git a/net/mrt/patches/patch-ag b/net/mrt/patches/patch-ag
new file mode 100644
index 00000000000..d798b068761
--- /dev/null
+++ b/net/mrt/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2007/12/21 13:30:13 obache Exp $
+
+--- lib/config/commconf.c.orig 2000-05-23 07:53:10.000000000 +0000
++++ lib/config/commconf.c
+@@ -365,7 +365,7 @@ config_interface (uii_connection_t * uii
+ uii->state = UII_CONFIG_INTERFACE;
+ Delete (name);
+
+- LL_Iterate (CONFIG_MRTD->ll_interfaces, (char *) ip) {
++ LL_Iterate (CONFIG_MRTD->ll_interfaces, ip) {
+ if (ip == interface)
+ return (0);
+ }
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);
+