summaryrefslogtreecommitdiff
path: root/net/pim6dd
diff options
context:
space:
mode:
Diffstat (limited to 'net/pim6dd')
-rw-r--r--net/pim6dd/Makefile2
-rw-r--r--net/pim6dd/files/patch-ab13
-rw-r--r--net/pim6dd/files/patch-ac13
3 files changed, 27 insertions, 1 deletions
diff --git a/net/pim6dd/Makefile b/net/pim6dd/Makefile
index 3f04d8465767..38a57a7d1540 100644
--- a/net/pim6dd/Makefile
+++ b/net/pim6dd/Makefile
@@ -26,7 +26,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
post-patch:
.for file in Makefile.inc pim6dd/pathnames.h pim6dd/pim6dd.8
- @${PERL} -pi.orig -e 's./usr/local/v6.${PREFIX}.g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's./usr/local/v6.${PREFIX}.g' ${WRKSRC}/${file}
.endfor
post-install:
diff --git a/net/pim6dd/files/patch-ab b/net/pim6dd/files/patch-ab
new file mode 100644
index 000000000000..1c284c8bb374
--- /dev/null
+++ b/net/pim6dd/files/patch-ab
@@ -0,0 +1,13 @@
+Index: pim6dd/mld6.c
+diff -u pim6dd/mld6.c.orig pim6dd/mld6.c
+--- pim6dd/mld6.c.orig Wed Apr 3 11:47:04 2002
++++ pim6dd/mld6.c Sun Jun 16 20:13:39 2002
+@@ -117,7 +117,7 @@
+
+ /* Externals */
+
+-extern struct in6_addr in6addr_linklocal_allnodes;
++extern const struct in6_addr in6addr_linklocal_allnodes;
+
+ /* local variables. */
+ static struct sockaddr_in6 dst = {sizeof(dst), AF_INET6};
diff --git a/net/pim6dd/files/patch-ac b/net/pim6dd/files/patch-ac
new file mode 100644
index 000000000000..3530ee10c976
--- /dev/null
+++ b/net/pim6dd/files/patch-ac
@@ -0,0 +1,13 @@
+Index: pim6dd/mld6_proto.c
+diff -u pim6dd/mld6_proto.c.orig pim6dd/mld6_proto.c
+--- pim6dd/mld6_proto.c.orig Tue Dec 18 12:10:42 2001
++++ pim6dd/mld6_proto.c Sun Jun 16 20:15:55 2002
+@@ -119,7 +119,7 @@
+
+ #include "mld6_proto.h"
+
+-extern struct in6_addr in6addr_any;
++extern const struct in6_addr in6addr_any;
+
+
+ /*