diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-17 12:00:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-17 12:00:05 +0000 |
commit | 7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66 (patch) | |
tree | 0eb18a54c390a3f7563859c669bb61763383b997 /main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch | |
parent | fae29142ae1d4a744dc8ff48fb6d4275c5a2f483 (diff) | |
download | aports-7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66.tar.bz2 aports-7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66.tar.xz |
main/sipsak: enable SRV lookups
Diffstat (limited to 'main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch')
-rw-r--r-- | main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch new file mode 100644 index 0000000000..d62ba0e276 --- /dev/null +++ b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch @@ -0,0 +1,30 @@ +From eeeee47c6cb0e13619b76bc4109479e52b5dc441 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov <lemenkov@gmail.com> +Date: Tue, 15 Nov 2011 00:33:49 +0400 +Subject: [PATCH 1/1] Fix for wrong arity of callback function for c-ares + +See rhbz #753372 for further details + +https://bugzilla.redhat.com/753372 + +Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> +--- + helper.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/helper.c b/helper.c +index c5dee06..976b73b 100644 +--- a/helper.c ++++ b/helper.c +@@ -262,7 +262,7 @@ static const unsigned char *skip_query(const unsigned char *aptr, const unsigned + return aptr; + } + +-static void cares_callback(void *arg, int status, unsigned char *abuf, int alen) { ++static void cares_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) { + int i; + unsigned int ancount, nscount, arcount; + const unsigned char *aptr; +-- +1.7.7 + |