From 7fb4d565259123fa3fd1ffe802ced860f3aa8cbf Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Wed, 4 Jun 2003 14:34:24 +0000 Subject: Unbreak sendip build on -CURRENT. PR: 52584 Submitted by: maintainer Approved by: roberto (mentor) --- net-mgmt/sendip/Makefile | 8 +------- net-mgmt/sendip/files/patch-gnugetopt.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 net-mgmt/sendip/files/patch-gnugetopt.c (limited to 'net-mgmt/sendip') diff --git a/net-mgmt/sendip/Makefile b/net-mgmt/sendip/Makefile index 76be1bce8c22..c846afd9f6b5 100644 --- a/net-mgmt/sendip/Makefile +++ b/net-mgmt/sendip/Makefile @@ -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 - -.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 +.include diff --git a/net-mgmt/sendip/files/patch-gnugetopt.c b/net-mgmt/sendip/files/patch-gnugetopt.c new file mode 100644 index 000000000000..65ec257ae5ad --- /dev/null +++ b/net-mgmt/sendip/files/patch-gnugetopt.c @@ -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 ++#include + + /* 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 -- cgit v1.2.3