Date: Thu, 16 Oct 2003 01:02:40 +0800 (CST) From: "Ying-Chieh Chen" <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/58084: [maintainer-update] update ports/chinese/autoconvert to fix build on -current Message-ID: <200310151702.h9FH2eKg003613@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200310151710.h9FHAAQV095978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58084 >Category: ports >Synopsis: [maintainer-update] update ports/chinese/autoconvert to fix build on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 15 10:10:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Ying-chieh Chen >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: MANA lab in CS/CCU >Environment: System: FreeBSD net04.cs.ccu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #0: Mon Oct 6 23:47:41 CST 2003 root@net04.cs.ccu.edu.tw:/usr/obj/usr/src/sys/KERNEL i386 >Description: Update ports/chinese/autoconvert to fix on -current. Please commit it, thanks! >How-To-Repeat: cd /usr/ports/chinese/autoconvert && make install >Fix: diff -ruN /usr/ports/chinese/autoconvert/Makefile autoconvert/Makefile --- /usr/ports/chinese/autoconvert/Makefile Mon Oct 6 18:35:23 2003 +++ autoconvert/Makefile Thu Oct 16 00:57:26 2003 @@ -15,7 +15,7 @@ USE_REINPLACE= yes USE_GETOPT_LONG= yes -CFLAGS+= "${CPPFLAGS}" +CFLAGS+= ${CPPFLAGS} MAKE_ENV= CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}" INSTALLS_SHLIB= yes DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} diff -ruN /usr/ports/chinese/autoconvert/files/patch-autogb.c autoconvert/files/patch-autogb.c --- /usr/ports/chinese/autoconvert/files/patch-autogb.c Thu Jan 1 08:00:00 1970 +++ autoconvert/files/patch-autogb.c Thu Oct 16 00:57:26 2003 @@ -0,0 +1,26 @@ +--- autogb.c.orig Mon Apr 23 22:18:06 2001 ++++ autogb.c Wed Oct 15 17:28:48 2003 +@@ -34,15 +34,14 @@ + void print_help(char* filename){ + printf("\nUsage: %s [-OPTION] < input > output\n", filename); + puts( +-"Now autoconvert can only judge gb/big5/hz encoding, so if you want to +-do other conversion, you must set the option --input. Without --input, +-the program will guess the encoding of the input. +-OPTION is one of (case insensitive): +- -i encoding, --input encoding: Set the input encoding +- -o encoding, --output encoding: Set the output encoding +- +- The encoding should be gb, big5, hz, uni, utf7 or utf8. +- "); ++"Now autoconvert can only judge gb/big5/hz encoding, so if you want to " ++"do other conversion, you must set the option --input. Without --input," ++"the program will guess the encoding of the input." ++"OPTION is one of (case insensitive):" ++" -i encoding, --input encoding: Set the input encoding" ++" -o encoding, --output encoding: Set the output encoding" ++" The encoding should be gb, big5, hz, uni, utf7 or utf8." ++" "); + + exit(0); + } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310151702.h9FH2eKg003613>