update mrd6 to 0.9.5rev3, refresh patches, fix build on 2.4 and remove 2.6 only flag...
[packages.git] / ipv6 / mrd6 / patches / 003-missing_icmp_inet6_defs.patch
diff --git a/ipv6/mrd6/patches/003-missing_icmp_inet6_defs.patch b/ipv6/mrd6/patches/003-missing_icmp_inet6_defs.patch
new file mode 100644 (file)
index 0000000..7244d5a
--- /dev/null
@@ -0,0 +1,19 @@
+Index: mrd6-0.9.5/src/icmp_inet6.cpp
+===================================================================
+--- mrd6-0.9.5.orig/src/icmp_inet6.cpp 2007-09-21 13:19:04.000000000 +0200
++++ mrd6-0.9.5/src/icmp_inet6.cpp      2007-09-21 13:19:06.000000000 +0200
+@@ -51,6 +51,14 @@
+ #define IP6_ALERT_MLD 0x00
+ #endif
++#ifndef IP6OPT_PAD1
++#define IP6OPT_PAD1 0
++#endif
++
++#ifndef IP6OPT_PADN
++#define IP6OPT_PADN 1
++#endif
++
+ static in6_addr mld_all_routers;
+ static in6_addr all_routers;