diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-25 09:51:05 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-10-25 09:51:05 +0000 |
commit | 7c8f8940852dd8918efcded75c2585a7ba85c092 (patch) | |
tree | 97018d2e0a4cc5afee3796a17f24ef95c518d83a /chinese | |
parent | fe25d70b2ca173b55f7e91a94d7ecf40afabe042 (diff) | |
download | ports-7c8f8940852dd8918efcded75c2585a7ba85c092.tar.gz ports-7c8f8940852dd8918efcded75c2585a7ba85c092.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/unzip/Makefile | 17 | ||||
-rw-r--r-- | chinese/unzip/files/patch-fileio.c | 14 |
3 files changed, 32 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index f4c0e899bca5..cf1d2df22e93 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -100,6 +100,7 @@ SUBDIR += tocps SUBDIR += ttf2pt1 SUBDIR += ttfm + SUBDIR += unzip SUBDIR += ve SUBDIR += vflib SUBDIR += wangttf diff --git a/chinese/unzip/Makefile b/chinese/unzip/Makefile new file mode 100644 index 000000000000..dcf29ea8d4e5 --- /dev/null +++ b/chinese/unzip/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: zh-unzip +# Date created: 3 July 1999 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +CATEGORIES= chinese + +MAINTAINER= statue@freebsd.sinica.edu.tw + +MASTERDIR= ${.CURDIR}/../../archivers/unzip + +EXTRA_PATCHES= ${.CURDIR}/files/patch-fileio.c + +.include "${MASTERDIR}/Makefile" + diff --git a/chinese/unzip/files/patch-fileio.c b/chinese/unzip/files/patch-fileio.c new file mode 100644 index 000000000000..dd0116b90295 --- /dev/null +++ b/chinese/unzip/files/patch-fileio.c @@ -0,0 +1,14 @@ +--- fileio.c.orig Wed Jun 5 03:41:04 2002 ++++ fileio.c Wed Jun 5 03:44:33 2002 +@@ -2135,8 +2135,11 @@ + + /* translate the Zip entry filename coded in host-dependent "extended + ASCII" into the compiler's (system's) internal text code page */ ++#if 0 ++/* cnoize is lazy to read it carefully */ + Ext_ASCII_TO_Native(G.filename, G.pInfo->hostnum, G.pInfo->hostver, + G.pInfo->HasUxAtt, (option == DS_FN_L)); ++#endif + + if (G.pInfo->lcflag) /* replace with lowercase filename */ + STRLOWER(G.filename, G.filename); |