summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/mtr/files/0.85-ipv6.patch')
-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], [