aboutsummaryrefslogtreecommitdiff
path: root/dns/c-ares/files
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2010-12-19 19:10:48 +0000
committerPeter Pentchev <roam@FreeBSD.org>2010-12-19 19:10:48 +0000
commitf97736f66f0b3733216f93daa1ce61e1ff530459 (patch)
treeaf76b6a5deb17881479ceaa01aead7912b64d458 /dns/c-ares/files
parent4ec01ce4bf048f5530e0c423e82e112abf76ba69 (diff)
downloadports-f97736f66f0b3733216f93daa1ce61e1ff530459.tar.gz
ports-f97736f66f0b3733216f93daa1ce61e1ff530459.zip
Notes
Diffstat (limited to 'dns/c-ares/files')
-rw-r--r--dns/c-ares/files/ares-config-info.patch8
-rw-r--r--dns/c-ares/files/patch-Makefile.in4
-rw-r--r--dns/c-ares/files/patch-configure16
3 files changed, 22 insertions, 6 deletions
diff --git a/dns/c-ares/files/ares-config-info.patch b/dns/c-ares/files/ares-config-info.patch
index 622d8312e374..f1391897854b 100644
--- a/dns/c-ares/files/ares-config-info.patch
+++ b/dns/c-ares/files/ares-config-info.patch
@@ -4,7 +4,7 @@ Description: Add the ares_get_config() routine used by Unreal IRCd.
Origin: the Unreal IRCd distribution
Author: Peter Pentchev <roam@FreeBSD.org>
Forwarded: no
-Last-Update: 2010-06-11
+Last-Update: 2010-12-19
--- ares.h.orig
+++ ares.h
@@ -23,7 +23,7 @@ Last-Update: 2010-06-11
struct hostent;
struct timeval;
struct sockaddr;
-@@ -511,6 +519,8 @@
+@@ -530,6 +538,8 @@
CARES_EXTERN int ares_get_servers(ares_channel channel,
struct ares_addr_node **servers);
@@ -40,9 +40,9 @@ Last-Update: 2010-06-11
#include "inet_net_pton.h"
+#include "inet_ntop.h"
#include "ares_library_init.h"
+ #include "ares_nowarn.h"
#include "ares_private.h"
-
-@@ -1519,6 +1520,36 @@
+@@ -1536,6 +1537,36 @@
}
#endif /* !WIN32 && !WATT32 */
diff --git a/dns/c-ares/files/patch-Makefile.in b/dns/c-ares/files/patch-Makefile.in
index 5978958aeba8..be3b6ae37ce8 100644
--- a/dns/c-ares/files/patch-Makefile.in
+++ b/dns/c-ares/files/patch-Makefile.in
@@ -1,11 +1,11 @@
Description: Place the pkgconfig file in the correct directory on FreeBSD.
Author: Peter Pentchev <roam@FreeBSD.org>
Forwarded: not-needed
-Last-Update: 2009-03-25
+Last-Update: 2010-12-19
--- Makefile.in.orig
+++ Makefile.in
-@@ -317,7 +317,7 @@
+@@ -322,7 +322,7 @@
CLEANFILES = $(PDFPAGES) $(HTMLPAGES)
DISTCLEANFILES = ares_build.h
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
+