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:
parent
4c23fcb34a
commit
f0eb4acc9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233444
@ -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>
|
||||
|
11
net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp
Normal file
11
net/mgen/files/patch-protolib_unix_bsdRouteMgr.cpp
Normal 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();
|
Loading…
Reference in New Issue
Block a user