aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools/disable-Werror.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-31 08:57:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:12 +0000
commita49ee8d90e591343504a427ee541ebd3d0f311a5 (patch)
tree2413ba1d63ab262d367d5ea25b8597bdc2e7e7bc /main/ipsec-tools/disable-Werror.patch
parent1f2c339bdf9888b2aec001df83c8d0e12c0a4113 (diff)
downloadaports-a49ee8d90e591343504a427ee541ebd3d0f311a5.tar.bz2
aports-a49ee8d90e591343504a427ee541ebd3d0f311a5.tar.xz
main/ipsec-tools: rebuild against openssl 1.1
Diffstat (limited to 'main/ipsec-tools/disable-Werror.patch')
-rw-r--r--main/ipsec-tools/disable-Werror.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/ipsec-tools/disable-Werror.patch b/main/ipsec-tools/disable-Werror.patch
new file mode 100644
index 0000000000..30c0ab3b68
--- /dev/null
+++ b/main/ipsec-tools/disable-Werror.patch
@@ -0,0 +1,40 @@
+diff --git a/configure.ac b/configure.ac
+index 8506245..f00afd0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -18,7 +18,7 @@ AM_PROG_LEX
+ AC_SUBST(LEXLIB)
+ AC_PROG_EGREP
+
+-CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
++CFLAGS_ADD="$CFLAGS_ADD -Wall -Wno-unused"
+
+ case $host in
+ *netbsd*)
+@@ -131,7 +131,7 @@ RACOON_CHECK_VA_COPY
+ # Check if printf accepts "%z" type modifier for size_t argument
+ AC_MSG_CHECKING(if printf accepts %z)
+ saved_CFLAGS=$CFLAGS
+-CFLAGS="$CFLAGS -Wall -Werror"
++CFLAGS="$CFLAGS -Wall "
+ AC_TRY_COMPILE([
+ #include <stdio.h>
+ ], [
+@@ -433,7 +433,7 @@ if test "$libldap_dir" != "no"; then
+ LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
+
+ saved_CFLAGS=$CFLAGS
+- CFLAGS="$CFLAGS -Wall -Werror"
++ CFLAGS="$CFLAGS -Wall "
+ saved_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
+ AC_TRY_COMPILE(
+@@ -484,7 +484,7 @@ if test "x$enable_gssapi" = "xyes"; then
+
+ # Check if iconv 2nd argument needs const
+ saved_CFLAGS=$CFLAGS
+- CFLAGS="$CFLAGS -Wall -Werror"
++ CFLAGS="$CFLAGS -Wall "
+ saved_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
+ AC_CHECK_HEADER([iconv.h], [], [AC_MSG_ERROR([iconv.h not found, but needed for GSSAPI support. Aborting.])])