ports/58057: New port: chinese/unzip
Statue
statue at freebsd.sinica.edu.tw
Wed Oct 15 06:30:25 UTC 2003
>Number: 58057
>Category: ports
>Synopsis: New port: chinese/unzip
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 14 23:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Statue
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #4: Mon Sep 15 18:44:48 CST 2003 root at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386
>Description:
chinese unzip.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# unzip/
# unzip/Makefile
# unzip/files
# unzip/files/patch-fileio.c
#
echo c - unzip/
mkdir -p unzip/ > /dev/null 2>&1
echo x - unzip/Makefile
sed 's/^X//' >unzip/Makefile << 'END-of-unzip/Makefile'
X# New ports collection makefile for: zh-unzip
X# Date created: 3 July 1999
X# Whom: Shen Chuan-Hsing <statue at freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XCATEGORIES= chinese
X
XMASTERDIR= ${.CURDIR}/../../archivers/unzip
X
XEXTRA_PATCHES= ${.CURDIR}/files/patch-fileio.c
X
XMAINTAINER= statue at freebsd.sinica.edu.tw
X
X.include "${MASTERDIR}/Makefile"
END-of-unzip/Makefile
echo c - unzip/files
mkdir -p unzip/files > /dev/null 2>&1
echo x - unzip/files/patch-fileio.c
sed 's/^X//' >unzip/files/patch-fileio.c << 'END-of-unzip/files/patch-fileio.c'
X--- fileio.c.orig Wed Jun 5 03:41:04 2002
X+++ fileio.c Wed Jun 5 03:44:33 2002
X@@ -2135,8 +2135,11 @@
X
X /* translate the Zip entry filename coded in host-dependent "extended
X ASCII" into the compiler's (system's) internal text code page */
X+#if 0
X+/* cnoize is lazy to read it carefully */
X Ext_ASCII_TO_Native(G.filename, G.pInfo->hostnum, G.pInfo->hostver,
X G.pInfo->HasUxAtt, (option == DS_FN_L));
X+#endif
X
X if (G.pInfo->lcflag) /* replace with lowercase filename */
X STRLOWER(G.filename, G.filename);
END-of-unzip/files/patch-fileio.c
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list