diff options
author | garga <garga@FreeBSD.org> | 2009-05-09 05:50:30 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-05-09 05:50:30 +0800 |
commit | 13fb188ad53941cc3a5ae5e5f6a55dfc1696100a (patch) | |
tree | 981ef86018dba7ed5c59a9619f3354df74019f1a | |
parent | 3e80b2cec3cd5a77d6393b8c59df7ebe7e06f981 (diff) | |
download | freebsd-ports-gnome-13fb188ad53941cc3a5ae5e5f6a55dfc1696100a.tar.gz freebsd-ports-gnome-13fb188ad53941cc3a5ae5e5f6a55dfc1696100a.tar.zst freebsd-ports-gnome-13fb188ad53941cc3a5ae5e5f6a55dfc1696100a.zip |
- Fix build on -CURRENT and unbreak
- Since i'm here, fix MASTER_SITES, directory has changed since version 5 was
released
-rw-r--r-- | net/mgen/Makefile | 10 | ||||
-rw-r--r-- | net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp | 11 |
2 files changed, 13 insertions, 8 deletions
diff --git a/net/mgen/Makefile b/net/mgen/Makefile index 1b3c0a55ceb7..ef7ba5500451 100644 --- a/net/mgen/Makefile +++ b/net/mgen/Makefile @@ -8,7 +8,7 @@ PORTNAME= mgen PORTVERSION= 4.2b6 CATEGORIES= net -MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mgen/ \ +MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mgen/mgen4/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= miwi DISTNAME= src-${PORTNAME}-${PORTVERSION} @@ -46,10 +46,4 @@ do-install: .endfor .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 800059 -BROKEN= does not build -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp b/net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp new file mode 100644 index 000000000000..39599b9f2ae9 --- /dev/null +++ b/net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp @@ -0,0 +1,11 @@ +--- protolib/unix/bsdRouteMgr.cpp.orig 2009-05-08 18:44:06.000000000 -0300 ++++ protolib/unix/bsdRouteMgr.cpp 2009-05-08 18:44:35.000000000 -0300 +@@ -255,7 +255,7 @@ + } // end if(mask[i] is set) + } // end for(i=0..RTAX_MAX) + if (dst.IsValid() && +- (0 == (rtm->rtm_flags & RTF_WASCLONED))) ++ (0 == (rtm->rtm_flags))) + { + if (prefixLen < 0) prefixLen = dst.GetLength() << 3; + if (0 == (rtm->rtm_flags & RTF_GATEWAY)) gw.Invalidate(); |