Index: head/net/tcpview/Makefile =================================================================== --- head/net/tcpview/Makefile (revision 451622) +++ head/net/tcpview/Makefile (revision 451623) @@ -1,26 +1,26 @@ # Created by: Chung-Kie Tung # $FreeBSD$ PORTNAME= tcpview PORTVERSION= 1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net MASTER_SITES= ftp://ftp.cac.washington.edu/pub/noc-tools/tcpview/ MAINTAINER= cy@FreeBSD.org COMMENT= Motif-based TCP/IP protocol analyzer MAKE_JOBS_UNSAFE= yes USES= bison motif tar:Z MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} post-patch: .for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c @${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f} .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${STAGEDIR}${PREFIX}/lib/X11/app-defaults .include Index: head/net/tcpview/files/patch-hex.c =================================================================== --- head/net/tcpview/files/patch-hex.c (nonexistent) +++ head/net/tcpview/files/patch-hex.c (revision 451623) @@ -0,0 +1,10 @@ +--- hex.c.orig 1993-04-22 13:40:04.000000000 -0700 ++++ hex.c 2017-10-06 07:25:01.182767000 -0700 +@@ -85,6 +85,7 @@ + char *s; + + do { ++#define gets(a) fgets(a,sizeof(a),stdin) + if( gets(str) == NULL ) + return NULL; + if( *str != '\t' && *str != ' ' && PrintFrames ) Property changes on: head/net/tcpview/files/patch-hex.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property