summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-07-11 14:53:26 +0000
committerJeroen Roovers <jer@gentoo.org>2013-07-11 14:53:26 +0000
commit3dca64f2a7787a2c6f10e39c0f4352053f59be02 (patch)
treec7d1af809ea349ff0dffdb72fa7873237a8c5106 /net-analyzer/mtr/files
parentrevbump to fix bug 475564 (diff)
downloadhistorical-3dca64f2a7787a2c6f10e39c0f4352053f59be02.tar.gz
historical-3dca64f2a7787a2c6f10e39c0f4352053f59be02.tar.bz2
historical-3dca64f2a7787a2c6f10e39c0f4352053f59be02.zip
Fix --disable-ipv6 (bug #456788).
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/mtr/files')
-rw-r--r--net-analyzer/mtr/files/0.85-ipv6.patch14
1 files changed, 14 insertions, 0 deletions
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], [