summaryrefslogtreecommitdiff
path: root/net/ntopng/files/patch-configure.seed
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-15 15:04:56 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-15 15:04:56 +0000
commitb209a8b78803995e9133ce88b833f1bbbdb03c99 (patch)
treef2181993e687b0c3edd9335e7febba591b4ee5d2 /net/ntopng/files/patch-configure.seed
parentdatabases/libgda5: update to 5.2.10 (diff)
net/ntopng: fix build on GCC architectures
cc1: error: unrecognized command line option "-Wno-address-of-packed-member" Still builds fine with clang.
Notes
Notes: svn path=/head/; revision=555226
Diffstat (limited to 'net/ntopng/files/patch-configure.seed')
-rw-r--r--net/ntopng/files/patch-configure.seed9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ntopng/files/patch-configure.seed b/net/ntopng/files/patch-configure.seed
index 388c0a5d4b5a..37eb02b50e14 100644
--- a/net/ntopng/files/patch-configure.seed
+++ b/net/ntopng/files/patch-configure.seed
@@ -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
#