1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix build on -CURRENT and unbreak

- Since i'm here, fix MASTER_SITES, directory has changed since version 5 was
  released
This commit is contained in:
Renato Botelho 2009-05-08 21:50:30 +00:00
parent 4c23fcb34a
commit f0eb4acc9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233444
2 changed files with 13 additions and 8 deletions

View File

@ -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>

View File

@ -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();