From 3dca64f2a7787a2c6f10e39c0f4352053f59be02 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 11 Jul 2013 14:53:26 +0000 Subject: Fix --disable-ipv6 (bug #456788). Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613 --- net-analyzer/mtr/files/0.85-ipv6.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net-analyzer/mtr/files/0.85-ipv6.patch (limited to 'net-analyzer/mtr/files') diff --git a/net-analyzer/mtr/files/0.85-ipv6.patch b/net-analyzer/mtr/files/0.85-ipv6.patch new file mode 100644 index 000000000000..ca666e668f54 --- /dev/null +++ b/net-analyzer/mtr/files/0.85-ipv6.patch @@ -0,0 +1,14 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -139,8 +139,10 @@ + USES_IPV6= + AC_CHECK_FUNC(getaddrinfo, + [if test "$WANTS_IPV6" = "yes"; then +- AC_DEFINE([ENABLE_IPV6], [], [Define to enable IPv6]) ++ AC_DEFINE([ENABLE_IPV6], [1], [Define to enable IPv6]) + USES_IPV6=yes ++ else ++ AC_DEFINE([ENABLE_IPV6], [0], [Define to enable IPv6]) + fi]) + + AC_DEFUN([NEED_RES_STATE_EXT_TEST_SRC], [ -- cgit v1.2.3-65-gdbad