Index: head/vietnamese/vnconvert/Makefile =================================================================== --- head/vietnamese/vnconvert/Makefile (revision 511320) +++ head/vietnamese/vnconvert/Makefile (revision 511321) @@ -1,24 +1,25 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= vnconvert PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= vietnamese MASTER_SITES= LOCAL/obrien DISTNAME= convert EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Converts Vietnamese text files between popular formats NO_WRKSUBDIR= yes MAKEFILE= makefile ALL_TARGET= PLIST_FILES= bin/vnconvert man/man1/vnconvert.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vnconvert ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/vnconvert.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/vietnamese/vnconvert/files/patch-vnconvert.c =================================================================== --- head/vietnamese/vnconvert/files/patch-vnconvert.c (nonexistent) +++ head/vietnamese/vnconvert/files/patch-vnconvert.c (revision 511321) @@ -0,0 +1,45 @@ +--- vnconvert.c.orig 1994-05-20 20:36:17 UTC ++++ vnconvert.c +@@ -91,7 +91,7 @@ main() + printf("\t6 - VN Thin-Art (Mac)\n\n"); + + printf("Input-file name (or Enter to quit): "); +- gets(bufline); ++ gets_s(bufline, 255); + if (strlen(bufline) == 0) + break; + sscanf(bufline, "%s", input_file); +@@ -99,21 +99,21 @@ main() + printf("currently in the format number: "); + *bufline = '\0'; + while (strlen(bufline)==0) { +- gets(bufline); ++ gets_s(bufline, 255); + sscanf(bufline, "%d", &from); + } + + printf("\nOutput-file name: "); + *bufline = '\0'; + while (strlen(bufline)==0) { +- gets(bufline); ++ gets_s(bufline, 255); + sscanf(bufline, "%s", output_file); + } + + printf("to the format number: "); + *bufline = '\0'; + while (strlen(bufline)==0) { +- gets(bufline); ++ gets_s(bufline, 255); + sscanf(bufline, "%d", &to); + } + +@@ -152,7 +152,7 @@ main() + } + else { + fprintf(stderr, "\"%s\" already exists. Overwrite it (y/n)? ", output_file); +- gets(buf); ++ gets_s(buf, BUFSIZ); + if (toupper(buf[0]) != 'Y') + icontinue = 1; + } Property changes on: head/vietnamese/vnconvert/files/patch-vnconvert.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