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:
parent
6929ccf90c
commit
61a39dbf2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373154
@ -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>
|
||||
|
10
devel/py-freebsd/files/freebsd11_patch-src__.const.def
Normal file
10
devel/py-freebsd/files/freebsd11_patch-src__.const.def
Normal 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);
|
10
devel/py-freebsd/files/freebsd11_patch-src__netstat.c
Normal file
10
devel/py-freebsd/files/freebsd11_patch-src__netstat.c
Normal 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)
|
Loading…
Reference in New Issue
Block a user