diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-10-07 02:37:22 +0200 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-10-07 02:37:22 +0200 |
commit | c245b5a4e545a518abdd6328502e6c01ae7f474f (patch) | |
tree | 5ae4c4b7ab1e6677063bdbf8cb2a8d2ff5979c81 /net-libs/libasyncns/files | |
parent | add patch to fix building shared libraries with patch from tt_1(bug #553746) (diff) | |
download | gentoo-c245b5a4e545a518abdd6328502e6c01ae7f474f.tar.gz gentoo-c245b5a4e545a518abdd6328502e6c01ae7f474f.tar.bz2 gentoo-c245b5a4e545a518abdd6328502e6c01ae7f474f.zip |
net-libs/libasyncns: fix configure check that failed on amd64-fbsd. add keyword.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-libs/libasyncns/files')
-rw-r--r-- | net-libs/libasyncns/files/libasyncns-0.8-configure-res_query.patch | 12 |
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);]]) + ]) |