diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libasyncns/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libasyncns/files')
-rw-r--r-- | net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch | 12 | ||||
-rw-r--r-- | net-libs/libasyncns/files/libasyncns-0.8-libdir.patch | 10 |
2 files changed, 22 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);]]) + ]) diff --git a/net-libs/libasyncns/files/libasyncns-0.8-libdir.patch b/net-libs/libasyncns/files/libasyncns-0.8-libdir.patch new file mode 100644 index 000000000000..44deca5dca2c --- /dev/null +++ b/net-libs/libasyncns/files/libasyncns-0.8-libdir.patch @@ -0,0 +1,10 @@ +--- libasyncns-0.8/libasyncns.pc.in.orig 2011-03-27 03:45:59.804339219 +0100 ++++ libasyncns-0.8/libasyncns.pc.in 2011-03-27 03:46:12.368119660 +0100 +@@ -1,6 +1,6 @@ + prefix=@prefix@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib ++libdir=@libdir@ + includedir=${prefix}/include + + Name: libasyncns |