diff options
Diffstat (limited to 'debian/patches/ipv6-linux-only')
-rw-r--r-- | debian/patches/ipv6-linux-only | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/ipv6-linux-only b/debian/patches/ipv6-linux-only new file mode 100644 index 0000000..69f1e9e --- /dev/null +++ b/debian/patches/ipv6-linux-only @@ -0,0 +1,19 @@ +Description: Disable IPv6addr and send_ua on non-Linux + They need SIOCSIFADDR and SIOGIFINDEX. +Author: Christoph Berg <myon@debian.org> +Last-Update: 2016-04-08 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/configure.ac ++++ b/configure.ac +@@ -808,8 +808,8 @@ + dnl ************************************************************************ + dnl * Check for netinet/icmp6.h to enable the IPv6addr resource agent + AC_CHECK_HEADERS(netinet/icmp6.h,[],[],[#include <sys/types.h>]) +-AM_CONDITIONAL(USE_IPV6ADDR_AGENT, test "$ac_cv_header_netinet_icmp6_h" = yes && test "$ac_cv_header_heartbeat_glue_config_h" = yes) +-AM_CONDITIONAL(IPV6ADDR_COMPATIBLE, test "$ac_cv_header_netinet_icmp6_h" = yes) ++AM_CONDITIONAL(USE_IPV6ADDR_AGENT, test "$ac_cv_header_netinet_icmp6_h" = yes && test "$ac_cv_header_heartbeat_glue_config_h" = yes && test $(uname) = Linux) ++AM_CONDITIONAL(IPV6ADDR_COMPATIBLE, test "$ac_cv_header_netinet_icmp6_h" = yes && test $(uname) = Linux) + + dnl ======================================================================== + dnl Compiler flags |