svn commit: r555226 - head/net/ntopng/files

Piotr Kubaj pkubaj at FreeBSD.org
Sun Nov 15 15:04:57 UTC 2020


Author: pkubaj
Date: Sun Nov 15 15:04:56 2020
New Revision: 555226
URL: https://svnweb.freebsd.org/changeset/ports/555226

Log:
  net/ntopng: fix build on GCC architectures
  
  cc1: error: unrecognized command line option "-Wno-address-of-packed-member"
  
  Still builds fine with clang.

Modified:
  head/net/ntopng/files/patch-configure.seed

Modified: head/net/ntopng/files/patch-configure.seed
==============================================================================
--- head/net/ntopng/files/patch-configure.seed	Sun Nov 15 14:52:53 2020	(r555225)
+++ head/net/ntopng/files/patch-configure.seed	Sun Nov 15 15:04:56 2020	(r555226)
@@ -1,5 +1,14 @@
 --- configure.seed.orig	2020-11-02 21:27:19 UTC
 +++ configure.seed
+@@ -4,7 +4,7 @@ dnl> Do not add anything above
+ 
+ AC_ARG_WITH(sanitizer,     [  --with-sanitizer   Build with support for the LLVM address sanitizer])
+ 
+-CPPFLAGS="${CPPFLAGS} -Wno-address-of-packed-member -Wno-unused-function"
++CPPFLAGS="${CPPFLAGS} -Wno-unused-function"
+ AC_PROG_CPP
+ AC_PROG_CXX
+ 
 @@ -77,33 +77,8 @@ fi
  # On CentOS 6 `git rev-list HEAD --count` does not work
  #


More information about the svn-ports-all mailing list