aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/libevent-dns-tests.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-21 08:53:14 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-21 08:53:44 +0100
commiteb39051936e30f57a841b50299830823bd90ff0f (patch)
tree698d348d48deee674eeb9fd51b82e10c2b454087 /gnu/packages/patches/libevent-dns-tests.patch
parente1f8f477de518979edae46de03ae2f69cbe512b7 (diff)
downloadguix-eb39051936e30f57a841b50299830823bd90ff0f.tar
guix-eb39051936e30f57a841b50299830823bd90ff0f.tar.gz
gnu: Add missing libevent patch.
* gnu/packages/patches/libevent-dns-tests.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/libevent-dns-tests.patch')
-rw-r--r--gnu/packages/patches/libevent-dns-tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/libevent-dns-tests.patch b/gnu/packages/patches/libevent-dns-tests.patch
new file mode 100644
index 0000000000..6ff8aaaa7b
--- /dev/null
+++ b/gnu/packages/patches/libevent-dns-tests.patch
@@ -0,0 +1,16 @@
+Disable tests that rely on usable DNS lookups, which aren't available
+in build chroots.
+
+--- libevent-2.0.21-stable/test/regress_dns.c 2013-01-20 22:32:09.000000000 +0100
++++ libevent-2.0.21-stable/test/regress_dns.c 2013-01-20 22:32:30.000000000 +0100
+@@ -1827,10 +1827,6 @@ end:
+
+ struct testcase_t dns_testcases[] = {
+ DNS_LEGACY(server, TT_FORK|TT_NEED_BASE),
+- DNS_LEGACY(gethostbyname, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
+- DNS_LEGACY(gethostbyname6, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
+- DNS_LEGACY(gethostbyaddr, TT_FORK|TT_NEED_BASE|TT_NEED_DNS),
+- { "resolve_reverse", dns_resolve_reverse, TT_FORK, NULL, NULL },
+ { "search", dns_search_test, TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
+ { "search_cancel", dns_search_cancel_test,
+ TT_FORK|TT_NEED_BASE, &basic_setup, NULL },