mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Update to c-ares-1.7.4 and fix a bashism in the configure script.
This commit is contained in:
parent
4ec01ce4bf
commit
f97736f66f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266592
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= c-ares
|
||||
PORTVERSION= 1.7.2
|
||||
PORTVERSION= 1.7.4
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://c-ares.haxx.se/
|
||||
|
||||
@ -53,7 +53,7 @@ MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
|
||||
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ARGS+= --enable-shared --disable-werror
|
||||
|
||||
MAN3= ares_cancel.3 \
|
||||
ares_destroy.3 ares_dup.3 \
|
||||
@ -67,7 +67,9 @@ MAN3= ares_cancel.3 \
|
||||
ares_init.3 ares_init_options.3 \
|
||||
ares_library_cleanup.3 ares_library_init.3 \
|
||||
ares_mkquery.3 \
|
||||
ares_parse_a_reply.3 ares_parse_aaaa_reply.3 ares_parse_ptr_reply.3 \
|
||||
ares_parse_a_reply.3 ares_parse_aaaa_reply.3 \
|
||||
ares_parse_mx_reply.3 \
|
||||
ares_parse_ptr_reply.3 \
|
||||
ares_parse_srv_reply.3 ares_parse_txt_reply.3 \
|
||||
ares_process.3 \
|
||||
ares_query.3 \
|
||||
|
@ -1,3 +1,2 @@
|
||||
MD5 (c-ares-1.7.2.tar.gz) = 50ec9287ec2013dc0fe19f778514280e
|
||||
SHA256 (c-ares-1.7.2.tar.gz) = 7472f4d3b86c76b88e9bb09d3b4bdf198bf0d71f2f30b1865b3e7eeba6bf4b31
|
||||
SIZE (c-ares-1.7.2.tar.gz) = 629512
|
||||
SHA256 (c-ares-1.7.4.tar.gz) = 6b8a7c4ecd67240cca50a345bc955ffbe2d6d1f43982defc77a8e76031a6cb06
|
||||
SIZE (c-ares-1.7.4.tar.gz) = 639365
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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
|
||||
|
16
dns/c-ares/files/patch-configure
Normal file
16
dns/c-ares/files/patch-configure
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user