svn commit: r424808 - head/net/userfw

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Oct 28 07:53:00 UTC 2016


Author: amdmi3
Date: Fri Oct 28 07:52:58 2016
New Revision: 424808
URL: https://svnweb.freebsd.org/changeset/ports/424808

Log:
  - Mark broken on 11+
  
  /usr/src/sys/netpfil/ipfw/ip_fw_private.h:287:16: error: field has incomplete type 'struct rwlock'
          struct rwlock   uh_lock;        /* lock for upper half */
                          ^
  /usr/src/sys/netpfil/ipfw/ip_fw_private.h:287:9: note: forward declaration of 'struct rwlock'
          struct rwlock   uh_lock;        /* lock for upper half */
                 ^
  dummynet.c:63:7: error: implicit declaration of function 'mtod' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                  if (mtod(*mb, struct ip *)->ip_v == 4)
                      ^
  dummynet.c:63:17: error: expected expression
                  if (mtod(*mb, struct ip *)->ip_v == 4)
                                ^
  dummynet.c:65:22: error: expected expression
                  else if (mtod(*mb, struct ip *)->ip_v == 6)
                                     ^
  
  Reported by:	pkg-fallout
  Approved by:	portmgr blanket

Modified:
  head/net/userfw/Makefile

Modified: head/net/userfw/Makefile
==============================================================================
--- head/net/userfw/Makefile	Fri Oct 28 05:48:48 2016	(r424807)
+++ head/net/userfw/Makefile	Fri Oct 28 07:52:58 2016	(r424808)
@@ -28,6 +28,10 @@ BROKEN_powerpc=	does not compile
 IGNORE=		requires kernel source files
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1100000
+BROKEN=		does not build on FreeBSD 11+
+.endif
+
 CMAKE_ARGS+=	-DDOMAIN_STUB:BOOL=OFF
 CMAKE_ARGS+=	-DOPCODE_VERIFICATION:BOOL=OFF
 CMAKE_ARGS+=	-DKMODDIR="${KMODDIR}"


More information about the svn-ports-all mailing list