Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2005 00:30:03 +0800 (CST)
From:      Rong-En Fan <rafan@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/80705: [PATCH] converters/libiconv: includes a patch for Big5
Message-ID:  <200505061630.j46GU3Al031010@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200505061640.j46Ge2Xi014692@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80705
>Category:       ports
>Synopsis:       [PATCH] converters/libiconv: includes a patch for Big5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 06 16:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 5.4 i386
>Organization:
NTU CSIE
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505061630.j46GU3Al031010>