- Update to 1.10.0

This commit is contained in:
Ryan Steinmetz 2013-05-15 18:27:09 +00:00
parent 49d231ced7
commit 998e735e72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318253
3 changed files with 11 additions and 21 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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)
+{