summaryrefslogtreecommitdiff
path: root/net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch')
-rw-r--r--net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch b/net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch
new file mode 100644
index 000000000000..ebc206b78feb
--- /dev/null
+++ b/net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch
@@ -0,0 +1,12 @@
+diff -ur a/configure.ac b/configure.ac
+--- a/configure.ac 2009-10-15 03:42:51.000000000 +0200
++++ b/configure.ac 2015-10-07 02:18:06.571175156 +0200
+@@ -82,6 +82,8 @@
+ ACF_SEARCH_FUNCTION([res_query], [-lresolv, -lbind],
+ [], [AC_MSG_ERROR([res_query not found])],
+ [AC_LANG_PROGRAM([[
++ #include <netinet/in.h>
++ #include <arpa/nameser.h>
+ #include <resolv.h>
+ ]], [[res_query(0, 0, 0, 0, 0);]])
+ ])