diff options
author | jhay <jhay@FreeBSD.org> | 2009-03-31 02:54:57 +0800 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2009-03-31 02:54:57 +0800 |
commit | f1b9c29a8c3d3aa342806326756745b089d18555 (patch) | |
tree | 9221e115d1a43bdc8ffe61782396d31fa2d162a7 /net | |
parent | b2023a1b005bbf67e6595e076a7de2e953518be3 (diff) | |
download | freebsd-ports-gnome-f1b9c29a8c3d3aa342806326756745b089d18555.tar.gz freebsd-ports-gnome-f1b9c29a8c3d3aa342806326756745b089d18555.tar.zst freebsd-ports-gnome-f1b9c29a8c3d3aa342806326756745b089d18555.zip |
Upgrade to olsrd 0.5.6-r4. Make it compile on -current again.
Remove the address of the old maintainer from pkg-descr.
Diffstat (limited to 'net')
-rw-r--r-- | net/olsrd/Makefile | 6 | ||||
-rw-r--r-- | net/olsrd/distinfo | 6 | ||||
-rw-r--r-- | net/olsrd/files/patch-src-bsd-kernel_routes.c | 30 | ||||
-rw-r--r-- | net/olsrd/pkg-descr | 2 |
4 files changed, 34 insertions, 10 deletions
diff --git a/net/olsrd/Makefile b/net/olsrd/Makefile index 06a7ee618e4d..e61e690a40c2 100644 --- a/net/olsrd/Makefile +++ b/net/olsrd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= olsrd -DISTVERSION= 0.5.6-r2 +DISTVERSION= 0.5.6-r4 CATEGORIES= net MASTER_SITES= http://www.olsr.org/releases/0.5/ \ http://ftp2.za.freebsd.org/pub/mesh/pc/protocols/olsr/ @@ -41,10 +41,6 @@ MAKE_ARGS+= PREFIX=${PREFIX} .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 800059 -BROKEN= does not build -.endif - .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif diff --git a/net/olsrd/distinfo b/net/olsrd/distinfo index c2ac622b129a..fbc3eed6d61f 100644 --- a/net/olsrd/distinfo +++ b/net/olsrd/distinfo @@ -1,3 +1,3 @@ -MD5 (olsrd-0.5.6-r2.tar.bz2) = eb72e4899142daa1a6237831da40eb74 -SHA256 (olsrd-0.5.6-r2.tar.bz2) = 3214291dec50e814e7990218ed8d39a9bcfa703a75ecf4c182ded643a9304e54 -SIZE (olsrd-0.5.6-r2.tar.bz2) = 544143 +MD5 (olsrd-0.5.6-r4.tar.bz2) = 16076660413bcf625ba8772fdb3d607f +SHA256 (olsrd-0.5.6-r4.tar.bz2) = a5864f214d4fdfbd27e9b254ce3f04efbc31761697b57329a7d0cdea26002a2c +SIZE (olsrd-0.5.6-r4.tar.bz2) = 548009 diff --git a/net/olsrd/files/patch-src-bsd-kernel_routes.c b/net/olsrd/files/patch-src-bsd-kernel_routes.c new file mode 100644 index 000000000000..22e891f08cb8 --- /dev/null +++ b/net/olsrd/files/patch-src-bsd-kernel_routes.c @@ -0,0 +1,30 @@ +--- src/bsd/kernel_routes.c.orig 2009-03-17 23:52:47.000000000 +0200 ++++ src/bsd/kernel_routes.c 2009-03-21 19:45:54.000000000 +0200 +@@ -176,7 +176,9 @@ + memcpy(walker, sdl, sdl->sdl_len); + walker += sdl_size; + rtm->rtm_addrs |= RTA_GATEWAY; ++#ifdef RTF_CLONING + rtm->rtm_flags |= RTF_CLONING; ++#endif + #ifndef _WRS_KERNEL + rtm->rtm_flags &= ~RTF_HOST; + #endif +@@ -295,7 +297,7 @@ + #endif + memcpy(walker, &sin6, sizeof(sin6)); + walker += sin_size; +- rtm->rtm_addrs = RTA_GATEWAY; ++ rtm->rtm_addrs |= RTA_GATEWAY; + } + else { + /* +@@ -313,7 +315,7 @@ + #endif + memcpy(walker, &sin6, sizeof(sin6)); + walker += sin_size; +- rtm->rtm_addrs = RTA_GATEWAY; ++ rtm->rtm_addrs |= RTA_GATEWAY; + rtm->rtm_flags |= RTF_GATEWAY; + } + diff --git a/net/olsrd/pkg-descr b/net/olsrd/pkg-descr index b5d2b671c1f5..ae5894fcab3f 100644 --- a/net/olsrd/pkg-descr +++ b/net/olsrd/pkg-descr @@ -7,5 +7,3 @@ technique called multipoint relaying for message flooding. WWW: http://www.olsr.org/ -Dave -dave@dogwood.com |