From owner-freebsd-gnome@FreeBSD.ORG Fri May 6 16:30:04 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D58F516A4D4; Fri, 6 May 2005 16:30:04 +0000 (GMT) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A84043D31; Fri, 6 May 2005 16:30:04 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.3/8.13.1) with ESMTP id j46GU33k031011; Sat, 7 May 2005 00:30:03 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.3/8.13.1/Submit) id j46GU3Al031010; Sat, 7 May 2005 00:30:03 +0800 (CST) (envelope-from rafan) Date: Sat, 7 May 2005 00:30:03 +0800 (CST) Message-Id: <200505061630.j46GU3Al031010@svm.csie.ntu.edu.tw> To: FreeBSD-gnats-submit@freebsd.org From: Rong-En Fan X-send-pr-version: 3.113 X-GNATS-Notify: cc: gnome@freebsd.org Subject: [PATCH] converters/libiconv: includes a patch for Big5 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 16:30:05 -0000 >Submitter-Id: current-users >Originator: Rong-En Fan >Organization: NTU CSIE >Confidential: no >Synopsis: [PATCH] converters/libiconv: includes a patch for Big5 >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.4 i386 >Environment: >Description: The Japanese characters mapping in the original libiconv big5 table is *wrong*. this extra patch will fix this and introduce an new knob WITH_EXTRA_PATCHES_BIG5 along with change old one to WITH_EXTRA_PATCHES_JP. (If you think we can put them together, that's ok.). With the new mapping, lots of chinese people using UTF-8 will be appreciated. Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- libiconv-1.9.2_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/converters/libiconv/Makefile /home/rafan/tmp/ports/converters/libiconv/Makefile --- /usr/ports/converters/libiconv/Makefile Tue Jul 27 11:28:14 2004 +++ /home/rafan/tmp/ports/converters/libiconv/Makefile Sat May 7 00:20:29 2005 @@ -35,17 +35,24 @@ CONFIGURE_ARGS+= --enable-extra-encodings .endif -.if defined(WITH_EXTRA_PATCHES) +.if defined(WITH_EXTRA_PATCHES_JP) PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ PATCHFILES+= ${DISTNAME}-cp932.patch.gz PATCH_DIST_STRIP+= -p1 .endif +.if defined(WITH_EXTRA_PATCHES_BIG5) +PATCH_SITES+= ftp://freebsd.csie.ntu.edu.tw/users/rafan/ +PATCHFILES+= ${DISTNAME}-big5-2003.patch.gz +PATCH_DIST_STRIP+= -p1 +.endif + pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "libiconv has the following tunable option(s):" @${ECHO_MSG} " WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets" - @${ECHO_MSG} " WITH_EXTRA_PATCHES=yes Apply extra patches (fixes cp932, adds EUCJP-MS)" + @${ECHO_MSG} " WITH_EXTRA_PATCHES_JP=yes Apply extra patches (fixes cp932, adds EUCJP-MS)" + @${ECHO_MSG} " WITH_EXTRA_PATCHES_BIG5=yes Apply extra patches (fixes Big5)" @${ECHO_MSG} "" post-patch: diff -ruN --exclude=CVS /usr/ports/converters/libiconv/distinfo /home/rafan/tmp/ports/converters/libiconv/distinfo --- /usr/ports/converters/libiconv/distinfo Tue Jul 27 11:28:14 2004 +++ /home/rafan/tmp/ports/converters/libiconv/distinfo Sat May 7 00:24:14 2005 @@ -2,3 +2,5 @@ SIZE (libiconv-1.9.2.tar.gz) = 3919945 MD5 (libiconv-1.9.2-cp932.patch.gz) = e792be53c6feb6b41cd386e6feb725c9 SIZE (libiconv-1.9.2-cp932.patch.gz) = 106981 +MD5 (libiconv-1.9.2-big5-2003.patch.gz) = e8df5eaf0e8a7bb619adcd5e28d1bb4a +SIZE (libiconv-1.9.2-big5-2003.patch.gz) = 112023 --- libiconv-1.9.2_1.patch ends here ---