pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mrt Fix build problems with gcc4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f5a961b2cd1
branches:  trunk
changeset: 536730:7f5a961b2cd1
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Dec 21 13:30:12 2007 +0000

description:
Fix build problems with gcc4.
* invalid lvalue cast
* static v.s. extern

diffstat:

 net/mrt/distinfo         |   4 +++-
 net/mrt/patches/patch-ag |  13 +++++++++++++
 net/mrt/patches/patch-ah |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r de1eeb7603b7 -r 7f5a961b2cd1 net/mrt/distinfo
--- a/net/mrt/distinfo  Fri Dec 21 13:29:02 2007 +0000
+++ b/net/mrt/distinfo  Fri Dec 21 13:30:12 2007 +0000
@@ -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-ad) = bbc017a99d34ee3bd6eecad077102b10c7e83349
 SHA1 (patch-ae) = 1689741472239677511a8e06357fc37f34eae4d4
 SHA1 (patch-af) = 83678e7e5b1016cfd29b0b8efcc362b3500daf3f
+SHA1 (patch-ag) = 1719581ab090e77b51642f999f96b54fa8434a10
+SHA1 (patch-ah) = 38e50462c50c89ea12330cbe91ddf7f66f59dada
diff -r de1eeb7603b7 -r 7f5a961b2cd1 net/mrt/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mrt/patches/patch-ag  Fri Dec 21 13:30:12 2007 +0000
@@ -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 -r de1eeb7603b7 -r 7f5a961b2cd1 net/mrt/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mrt/patches/patch-ah  Fri Dec 21 13:30:12 2007 +0000
@@ -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);
+ 



Home | Main Index | Thread Index | Old Index