aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2013-05-16 02:27:09 +0800
committerzi <zi@FreeBSD.org>2013-05-16 02:27:09 +0800
commit76bd1736c0439912124cf5aa80fd89c6b1dbce8b (patch)
tree1c5121cd8d1ffe80c3334ca53fc362ab65379b10
parentbd1b494a95637571fb43d6f20fd671e6d05bfa40 (diff)
downloadfreebsd-ports-gnome-76bd1736c0439912124cf5aa80fd89c6b1dbce8b.tar.gz
freebsd-ports-gnome-76bd1736c0439912124cf5aa80fd89c6b1dbce8b.tar.zst
freebsd-ports-gnome-76bd1736c0439912124cf5aa80fd89c6b1dbce8b.zip
- Update to 1.10.0
-rw-r--r--dns/c-ares/Makefile12
-rw-r--r--dns/c-ares/distinfo4
-rw-r--r--dns/c-ares/files/ares-config-info.patch16
3 files changed, 11 insertions, 21 deletions
diff --git a/dns/c-ares/Makefile b/dns/c-ares/Makefile
index 2a1b831f4f83..c7fe96a0cdf5 100644
--- a/dns/c-ares/Makefile
+++ b/dns/c-ares/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: ares
-# Date created: 8 September 2003
-# Whom: roam@FreeBSD.org
-#
+# Created by: roam@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= c-ares
-PORTVERSION= 1.9.1
+PORTVERSION= 1.10.0
CATEGORIES= dns
MASTER_SITES= http://c-ares.haxx.se/download/ \
http://obsd.isc.org/pub/OpenBSD/distfiles/ \
@@ -54,7 +50,7 @@ CONFIGURE_ARGS+=--disable-optimize
.endif
USE_LDCONFIG= yes
-SHLIB_VER= 2
+SHLIB_VER= 3
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
@@ -63,6 +59,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-shared --disable-werror
MAN3= ares_cancel.3 \
+ ares_create_query.3 \
ares_destroy.3 ares_dup.3 \
ares_expand_name.3 ares_expand_string.3 \
ares_fds.3 \
@@ -71,6 +68,7 @@ MAN3= ares_cancel.3 \
ares_gethostbyaddr.3 ares_gethostbyname.3 ares_gethostbyname_file.3 \
ares_getnameinfo.3 \
ares_getsock.3 \
+ ares_inet_ntop.3 ares_inet_pton.3 \
ares_init.3 ares_init_options.3 \
ares_library_cleanup.3 ares_library_init.3 \
ares_mkquery.3 \
diff --git a/dns/c-ares/distinfo b/dns/c-ares/distinfo
index ece417a8d1ee..fb23fccef3b7 100644
--- a/dns/c-ares/distinfo
+++ b/dns/c-ares/distinfo
@@ -1,2 +1,2 @@
-SHA256 (c-ares-1.9.1.tar.gz) = 023f28001f2f839645c8700187391a011198950c73ddd91510c7549d87373936
-SIZE (c-ares-1.9.1.tar.gz) = 782945
+SHA256 (c-ares-1.10.0.tar.gz) = 3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db
+SIZE (c-ares-1.10.0.tar.gz) = 809073
diff --git a/dns/c-ares/files/ares-config-info.patch b/dns/c-ares/files/ares-config-info.patch
index f1391897854b..427acdebcd71 100644
--- a/dns/c-ares/files/ares-config-info.patch
+++ b/dns/c-ares/files/ares-config-info.patch
@@ -32,19 +32,11 @@ Last-Update: 2010-12-19
#ifdef __cplusplus
}
#endif
---- ares_init.c.orig
-+++ ares_init.c
-@@ -66,6 +66,7 @@
- #include <errno.h>
- #include "ares.h"
- #include "inet_net_pton.h"
-+#include "inet_ntop.h"
- #include "ares_library_init.h"
- #include "ares_nowarn.h"
- #include "ares_private.h"
-@@ -1536,6 +1537,36 @@
+--- ares_init.c.orig 2013-02-17 11:44:02.000000000 -0500
++++ ares_init.c 2013-05-15 13:43:31.000000000 -0400
+@@ -1875,6 +1875,36 @@
}
- #endif /* !WIN32 && !WATT32 */
+ #endif /* !WIN32 & !WATT32 & !ANDROID & !__ANDROID__ */
+int ares_get_config(struct ares_config_info *d, ares_channel c)
+{