diff options
author | billf <billf@FreeBSD.org> | 1998-11-19 05:29:24 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1998-11-19 05:29:24 +0800 |
commit | 0103b45ff7c4df110f7a033c1f9174440bf4e96c (patch) | |
tree | 2386e22adf2c15cb1a8bfed41334abf478c6a385 /security/portscanner | |
parent | 06432dc1f4657cee338175de43e7ca3f294b65f8 (diff) | |
download | freebsd-ports-gnome-0103b45ff7c4df110f7a033c1f9174440bf4e96c.tar.gz freebsd-ports-gnome-0103b45ff7c4df110f7a033c1f9174440bf4e96c.tar.zst freebsd-ports-gnome-0103b45ff7c4df110f7a033c1f9174440bf4e96c.zip |
Fix ports/net/portscanner for 3.0-* people.
PR: ports/8737
Reviewed by: Bill Fumerola <billf@FreeBSD.org>
Submitted by: Osokin Sergey <osa@freebsd.org.ru>
Diffstat (limited to 'security/portscanner')
-rw-r--r-- | security/portscanner/Makefile | 4 | ||||
-rw-r--r-- | security/portscanner/files/patch-aa | 16 |
2 files changed, 16 insertions, 4 deletions
diff --git a/security/portscanner/Makefile b/security/portscanner/Makefile index 700a12283bcc..e3ef30bb66df 100644 --- a/security/portscanner/Makefile +++ b/security/portscanner/Makefile @@ -3,7 +3,7 @@ # Date created: 11 August 1998 # Whom: Bill Fumerola <billf@chc-chimes.com> # -# $Id: $ +# $Id: Makefile,v 1.1.1.1 1998/11/17 20:46:44 billf Exp $ # DISTNAME= PortScanner-1.0 @@ -18,7 +18,7 @@ WRKSRC= ${WRKDIR} do-build: - ${CC} -o ${WRKSRC}/portscanner ${CFLAGS} ${WRKSRC}/portscanner.c + @${CC} -o ${WRKSRC}/portscanner ${CFLAGS} ${WRKSRC}/portscanner.c do-install: diff --git a/security/portscanner/files/patch-aa b/security/portscanner/files/patch-aa index c26ac885f84c..8235c6ea8762 100644 --- a/security/portscanner/files/patch-aa +++ b/security/portscanner/files/patch-aa @@ -1,5 +1,17 @@ ---- portscanner.c.old Tue Aug 11 17:11:20 1998 -+++ portscanner.c Tue Aug 11 17:11:27 1998 +--- portscanner.c.old Wed Nov 18 16:25:41 1998 ++++ portscanner.c Wed Nov 18 16:25:53 1998 +@@ -24,10 +24,10 @@ + /***********************************************************/ + + #include <stdio.h> ++#include <unistd.h> + #include <sys/socket.h> + #include <sys/types.h> + #include <netinet/in.h> +-#include <unistd.h> + #include <netdb.h> + #include <sys/time.h> + #include <fcntl.h> @@ -35,7 +35,7 @@ int sock = -1; struct sockaddr_in address; |