Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 07:52:59 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424808 - head/net/userfw
Message-ID:  <201610280752.u9S7qxVA018969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610280752.u9S7qxVA018969>