summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-06-16 11:38:04 +0000
committerume <ume@FreeBSD.org>2002-06-16 11:38:04 +0000
commit2ec6b5546998ad5120c0ffe7d1ceb0a1eeedffbf (patch)
treebcea89c37957365768e84cdf332d7b872aadd6a6
parent5bd69d400f48694e0af91a68ebfe7fcbb9c25f3f (diff)
downloadFreeBSD-ports-2ec6b5546998ad5120c0ffe7d1ceb0a1eeedffbf.zip
FreeBSD-ports-2ec6b5546998ad5120c0ffe7d1ceb0a1eeedffbf.tar.gz
Fix build on 5-CURRENT.
Reported by: bento via kris
-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 3f04d84..38a57a7 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 0000000..1c284c8
--- /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 0000000..3530ee1
--- /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 2351b51..041f08d 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 0000000..940af90
--- /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 0000000..0a765d4
--- /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;
+
+
+ /*
OpenPOWER on IntegriCloud