1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Fix build on CURRENT

PR:		194488
Submitted by:	amdmi3
Approved by:	maitainer timeout
This commit is contained in:
Dmitry Marakasov 2014-11-23 14:35:38 +00:00
parent 6929ccf90c
commit 61a39dbf2f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373154
3 changed files with 24 additions and 0 deletions

View File

@ -27,5 +27,9 @@ EXTRA_PATCHES+= ${FILESDIR}/freebsd8_patch-src-jail.c
.if ${OSVERSION} >= 900030
EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c
.endif
.if ${OSVERSION} >= 1100002
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \
${FILESDIR}/freebsd11_patch-src__netstat.c
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,10 @@
--- src/.const.def.orig 2005-12-09 06:40:56.000000000 +0300
+++ src/.const.def 2014-10-18 00:25:38.000000000 +0400
@@ -69,7 +69,6 @@
SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG);
SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK);
SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT);
-SETDICT_INT(d, "IFF_SMART", IFF_SMART);
SETDICT_INT(d, "IFF_RUNNING", IFF_RUNNING);
SETDICT_INT(d, "IFF_NOARP", IFF_NOARP);
SETDICT_INT(d, "IFF_PROMISC", IFF_PROMISC);

View File

@ -0,0 +1,10 @@
--- src/netstat.c.orig 2005-05-08 10:55:00.000000000 +0400
+++ src/netstat.c 2014-10-18 00:25:23.000000000 +0400
@@ -40,7 +40,6 @@
EXPCONST(int IFF_DEBUG)
EXPCONST(int IFF_LOOPBACK)
EXPCONST(int IFF_POINTOPOINT)
-EXPCONST(int IFF_SMART)
EXPCONST(int IFF_RUNNING)
EXPCONST(int IFF_NOARP)
EXPCONST(int IFF_PROMISC)