Index: head/net-im/icmpchat/Makefile =================================================================== --- head/net-im/icmpchat/Makefile (revision 550864) +++ head/net-im/icmpchat/Makefile (revision 550865) @@ -1,38 +1,39 @@ # Created by: Matthew West # $FreeBSD$ PORTNAME= icmpchat PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Simple console-based chat that uses ICMP protocol LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License USES= ncurses PLIST_FILES= bin/${PORTNAME} PORTDOCS= Changes Problems Readme Todo OPTIONS_DEFINE= DOCS pre-patch: @${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|' \ -e 's|-lcurses|${LDFLAGS} -lncurses|g' \ -e' s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile # Fix for GCC 4.2 @${REINPLACE_CMD} -e \ 's|((uint8_t \*) data) +=|data += sizeof(uint8_t *) *|' \ ${WRKSRC}/sha256.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/icmpchat ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net-im/icmpchat/files/patch-sendicmp.c =================================================================== --- head/net-im/icmpchat/files/patch-sendicmp.c (nonexistent) +++ head/net-im/icmpchat/files/patch-sendicmp.c (revision 550865) @@ -0,0 +1,11 @@ +--- sendicmp.c.orig 2003-04-08 10:58:56 UTC ++++ sendicmp.c +@@ -3,6 +3,8 @@ + #include "config.h" + #include "sendicmp.h" + ++struct sockaddr_in saddr; ++ + int + sendpacket(int rawsock, + const unsigned char *text, Property changes on: head/net-im/icmpchat/files/patch-sendicmp.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 Index: head/net-im/icmpchat/files/patch-sendicmp.h =================================================================== --- head/net-im/icmpchat/files/patch-sendicmp.h (nonexistent) +++ head/net-im/icmpchat/files/patch-sendicmp.h (revision 550865) @@ -0,0 +1,10 @@ +--- sendicmp.h.orig 2003-04-06 16:21:11 UTC ++++ sendicmp.h +@@ -16,6 +16,6 @@ + + int sendpacket(int, const unsigned char *, const char *, int, int); + int in_cksum(u_short *, int); +-struct sockaddr_in saddr; ++extern struct sockaddr_in saddr; + + #endif /* SENDICMP_H */ Property changes on: head/net-im/icmpchat/files/patch-sendicmp.h ___________________________________________________________________ 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