aboutsummaryrefslogtreecommitdiffstats
path: root/net/libevnet
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2009-10-04 10:20:08 +0800
committerijliao <ijliao@FreeBSD.org>2009-10-04 10:20:08 +0800
commit1f1e61f8875a95c3371d2b868acf8730233cbcfa (patch)
tree2803eeb09acdeaa88d0c19814dc600d008afd70f /net/libevnet
parent11453a14a635f48a21dfe2a4a1caf742c856e015 (diff)
downloadfreebsd-ports-gnome-1f1e61f8875a95c3371d2b868acf8730233cbcfa.tar.gz
freebsd-ports-gnome-1f1e61f8875a95c3371d2b868acf8730233cbcfa.tar.zst
freebsd-ports-gnome-1f1e61f8875a95c3371d2b868acf8730233cbcfa.zip
chase changes between c-ares 1.4.0 to c-ares 1.6.0
pass maintainership to submitter PR: 139228 Submitted by: Tom Pusateri <pusateri at bangj dot com>
Diffstat (limited to 'net/libevnet')
-rw-r--r--net/libevnet/Makefile4
-rw-r--r--net/libevnet/files/patch-src::lookup.c29
2 files changed, 31 insertions, 2 deletions
diff --git a/net/libevnet/Makefile b/net/libevnet/Makefile
index 78b62dd9bc76..4b50aaae826b 100644
--- a/net/libevnet/Makefile
+++ b/net/libevnet/Makefile
@@ -8,12 +8,12 @@
PORTNAME= libevnet
PORTVERSION= 0.3.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://www.25thandclement.com/~william/projects/releases/
EXTRACT_SUFX= .tgz
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= pusateri@bangj.com
COMMENT= Network Daemon Services for libevent
BUILD_DEPENDS= ${LOCALBASE}/lib/libarena.a:${PORTSDIR}/devel/libarena
diff --git a/net/libevnet/files/patch-src::lookup.c b/net/libevnet/files/patch-src::lookup.c
new file mode 100644
index 000000000000..b78ea920120a
--- /dev/null
+++ b/net/libevnet/files/patch-src::lookup.c
@@ -0,0 +1,29 @@
+--- src/lookup.c.orig 2009-10-04 10:13:19.191192582 +0800
++++ src/lookup.c 2009-10-04 10:15:44.531364833 +0800
+@@ -2037,7 +2037,7 @@
+ } /* lookup_additional_query() */
+
+
+-static void lookup_catch_ares(void *, int, unsigned char *, int);
++static void lookup_catch_ares(void *, int, int, unsigned char *, int);
+
+ static void lookup_issue_query(struct lookup *l, struct lookup_query *q, const char *qname, size_t qnamelen, int rtype) {
+ struct ares_channel *c;
+@@ -2052,7 +2052,7 @@
+ q->channel = c;
+
+ if (l->opts.query_max != 0 && q->live_queries_made >= l->opts.query_max) {
+- lookup_catch_ares(q, ARES_ENODATA, NULL, 0);
++ lookup_catch_ares(q, ARES_ENODATA, 0, NULL, 0);
+ } else {
+ ++q->live_queries_made;
+ ares_query(c->channel, qname, C_IN, lookup_rtype2arpa(rtype), lookup_catch_ares, q);
+@@ -2708,7 +2708,7 @@
+ } /* lookup_process() */
+
+
+-static void lookup_catch_ares(void *l_, int ares_errno, unsigned char *abuf, int alen) {
++static void lookup_catch_ares(void *l_, int ares_errno, int timeouts, unsigned char *abuf, int alen) {
+ int lookup_errno = LOOKUP_ESUCCESS;
+ struct lookup_query *q;
+ struct lookup *l;