mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Fix build on 5-CURRENT.
Reported by: bento via kris
This commit is contained in:
parent
40f7e6217e
commit
9802ec1b8d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61359
@ -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:
|
||||
|
13
net/pim6dd/files/patch-ab
Normal file
13
net/pim6dd/files/patch-ab
Normal file
@ -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};
|
13
net/pim6dd/files/patch-ac
Normal file
13
net/pim6dd/files/patch-ac
Normal file
@ -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;
|
||||
|
||||
|
||||
/*
|
@ -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:
|
||||
|
13
net/pim6sd/files/patch-ab
Normal file
13
net/pim6sd/files/patch-ab
Normal file
@ -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};
|
13
net/pim6sd/files/patch-ac
Normal file
13
net/pim6sd/files/patch-ac
Normal file
@ -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;
|
||||
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user