Unbreak sendip build on -CURRENT.

PR:		52584
Submitted by:	maintainer
Approved by:	roberto (mentor)
This commit is contained in:
Michael Landin 2003-06-04 14:34:24 +00:00
parent 39a9b84530
commit 7fb4d56525
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82257
4 changed files with 22 additions and 14 deletions

View file

@ -13,12 +13,6 @@ MASTER_SITES= http://www.earth.li/projectpurple/files/
MAINTAINER= joseph@randomnetworks.com
COMMENT= SendIP is a commandline tool to allow sending arbitrary IP packets
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
USE_GMAKE= yes
USE_REINPLACE= yes
USE_PERL5= yes
@ -26,4 +20,4 @@ INSTALLS_SHLIB= yes
MAN1= sendip.1
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -0,0 +1,10 @@
--- gnugetopt.c.orig Thu May 22 08:35:25 2003
+++ gnugetopt.c Thu May 22 08:35:37 2003
@@ -45,6 +45,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C

View file

@ -13,12 +13,6 @@ MASTER_SITES= http://www.earth.li/projectpurple/files/
MAINTAINER= joseph@randomnetworks.com
COMMENT= SendIP is a commandline tool to allow sending arbitrary IP packets
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
USE_GMAKE= yes
USE_REINPLACE= yes
USE_PERL5= yes
@ -26,4 +20,4 @@ INSTALLS_SHLIB= yes
MAN1= sendip.1
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -0,0 +1,10 @@
--- gnugetopt.c.orig Thu May 22 08:35:25 2003
+++ gnugetopt.c Thu May 22 08:35:37 2003
@@ -45,6 +45,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C