aboutsummaryrefslogtreecommitdiffstats
path: root/testing/anytun/fix-werror-compile-flags.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 07:25:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 07:25:24 +0000
commit2b0c48acbae952caae1eb1ab40b50d742087055b (patch)
tree44caab6c07ddc332c7410fc4a30ada6c1fdff167 /testing/anytun/fix-werror-compile-flags.patch
parent8067852f7e000d6a6bb5ebbbb9e20327b54da37e (diff)
downloadaports-2b0c48acbae952caae1eb1ab40b50d742087055b.tar.bz2
aports-2b0c48acbae952caae1eb1ab40b50d742087055b.tar.xz
testing/anytun: upgrade to 0.3.6
Diffstat (limited to 'testing/anytun/fix-werror-compile-flags.patch')
-rw-r--r--testing/anytun/fix-werror-compile-flags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/anytun/fix-werror-compile-flags.patch b/testing/anytun/fix-werror-compile-flags.patch
new file mode 100644
index 0000000000..919a74b24e
--- /dev/null
+++ b/testing/anytun/fix-werror-compile-flags.patch
@@ -0,0 +1,15 @@
+diff --git a/src/configure b/src/configure
+index 65a0c74..357628e 100755
+--- a/src/configure
++++ b/src/configure
+@@ -217,8 +217,8 @@ if [ -n "$ERRORS" ] && [ $EBUILD_COMPAT -ne 1 ]; then
+ fi
+
+ if [ $USE_CLANG -eq 0 ]; then
+- CXXFLAGS='-g -Wall -Werror -Wno-error=unused-variable -O2'
+- LDFLAGS='-g -Wall -Werror -O2'
++ CXXFLAGS='-g -Wall -Wno-error=unused-variable -O2'
++ LDFLAGS='-g -Wall -O2'
+ COMPILER='g++'
+ else
+ CXXFLAGS='-g -O2'