mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
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>
This commit is contained in:
parent
b907041e86
commit
0ac60094f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14656
@ -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:
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user