summaryrefslogtreecommitdiff
path: root/net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch')
-rw-r--r--net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch b/net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch
new file mode 100644
index 000000000000..e2e9685e1326
--- /dev/null
+++ b/net-analyzer/pmacct/files/pmacct-1.7.4--Werror.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1109,9 +1109,9 @@
+ AC_MSG_RESULT(yes)
+ tmp_CFLAGS=`echo $CFLAGS | sed 's/O2/O0/g'`
+ CFLAGS="$tmp_CFLAGS"
+- CFLAGS="$CFLAGS -g -Wall -Werror"
++ CFLAGS="$CFLAGS -g -Wall"
+ else
+- CFLAGS="$CFLAGS -Wall -Werror"
++ CFLAGS="$CFLAGS -Wall"
+ AC_MSG_RESULT(no)
+ fi
+ ],