summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-06-16 11:38:04 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-06-16 11:38:04 +0000
commit9802ec1b8df7087fbbe319883c1875557a23d2c8 (patch)
tree33032156019660dd5349b12dc5481230c149cd71 /net
parentFix build on current (diff)
Fix build on 5-CURRENT.
Reported by: bento via kris
Notes
Notes: svn path=/head/; revision=61359
Diffstat (limited to 'net')
-rw-r--r--net/pim6dd/Makefile2
-rw-r--r--net/pim6dd/files/patch-ab13
-rw-r--r--net/pim6dd/files/patch-ac13
-rw-r--r--net/pim6sd/Makefile2
-rw-r--r--net/pim6sd/files/patch-ab13
-rw-r--r--net/pim6sd/files/patch-ac13
6 files changed, 54 insertions, 2 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;
+
+
+ /*
diff --git a/net/pim6sd/Makefile b/net/pim6sd/Makefile
index 2351b5149c1a..041f08d49dd4 100644
--- a/net/pim6sd/Makefile
+++ b/net/pim6sd/Makefile
@@ -27,7 +27,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
post-patch:
.for file in Makefile.inc pim6sd/pathnames.h pim6sd/pim6sd.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/pim6sd/files/patch-ab b/net/pim6sd/files/patch-ab
new file mode 100644
index 000000000000..940af9060603
--- /dev/null
+++ b/net/pim6sd/files/patch-ab
@@ -0,0 +1,13 @@
+Index: pim6sd/mld6.c
+diff -u pim6sd/mld6.c.orig pim6sd/mld6.c
+--- pim6sd/mld6.c.orig Wed Apr 3 11:47:04 2002
++++ pim6sd/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/pim6sd/files/patch-ac b/net/pim6sd/files/patch-ac
new file mode 100644
index 000000000000..0a765d4659ef
--- /dev/null
+++ b/net/pim6sd/files/patch-ac
@@ -0,0 +1,13 @@
+Index: pim6sd/mld6_proto.c
+diff -u pim6sd/mld6_proto.c.orig pim6sd/mld6_proto.c
+--- pim6sd/mld6_proto.c.orig Tue Dec 18 12:10:42 2001
++++ pim6sd/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;
+
+
+ /*