summaryrefslogtreecommitdiff
path: root/dns/c-ares/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'dns/c-ares/files/patch-configure')
-rw-r--r--dns/c-ares/files/patch-configure16
1 files changed, 16 insertions, 0 deletions
diff --git a/dns/c-ares/files/patch-configure b/dns/c-ares/files/patch-configure
new file mode 100644
index 000000000000..a152d865e2a9
--- /dev/null
+++ b/dns/c-ares/files/patch-configure
@@ -0,0 +1,16 @@
+Description: Fix a bashism in the -Werror test.
+Forwarded: https://github.com/bagder/c-ares/pull/3
+Author: Peter Pentchev <roam@ringlet.net>
+Last-Update: 2010-12-19
+
+--- configure.orig
++++ configure
+@@ -24718,7 +24718,7 @@
+
+
+ CARES_CFLAG_EXTRAS=""
+-if test X"$want_werror" == Xyes; then
++if test X"$want_werror" = Xyes; then
+ CARES_CFLAG_EXTRAS="-Werror"
+ fi
+