summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungmin Seo <seo@gentoo.org>2003-05-04 13:33:57 +0000
committerJungmin Seo <seo@gentoo.org>2003-05-04 13:33:57 +0000
commit06b7a96a34489a468bb4f6b2bf11a2d3c9630ff5 (patch)
treeb413aa801ff580c1e0d5f919e9bd9e714fbf74e3 /net-ftp
parentVersion bump, fix #20072 (diff)
downloadgentoo-2-06b7a96a34489a468bb4f6b2bf11a2d3c9630ff5.tar.gz
gentoo-2-06b7a96a34489a468bb4f6b2bf11a2d3c9630ff5.tar.bz2
gentoo-2-06b7a96a34489a468bb4f6b2bf11a2d3c9630ff5.zip
added a cjk patch
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/ncftp/ChangeLog7
-rw-r--r--net-ftp/ncftp/files/ncftp-3.1.5-cjk.patch12
-rw-r--r--net-ftp/ncftp/ncftp-3.1.5.ebuild11
3 files changed, 27 insertions, 3 deletions
diff --git a/net-ftp/ncftp/ChangeLog b/net-ftp/ncftp/ChangeLog
index 745b6a149ace..8820e12075f8 100644
--- a/net-ftp/ncftp/ChangeLog
+++ b/net-ftp/ncftp/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for net-ftp/ncftp
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ChangeLog,v 1.11 2003/03/09 20:37:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ChangeLog,v 1.12 2003/05/04 13:33:57 seo Exp $
14 Feb 2003; Guy Martin <gmsoft@gentoo.org> ncftp-3.1.5.ebuild :
Added hppa to keywords.
@@ -9,6 +9,11 @@
*ncftp-3.1.5 (20 Oct 2002)
+ 04 May 2003; Jungmin Seo <seo@gentoo.org> ncftp-3.1.5.ebuild,
+ files/ncftp-3.1.5-cjk.patch:
+ added a cjk patch, in order to write 2-byte characters.
+ This patch is temporary.
+
09 Mar 2003; Aron Griffis <agriffis@gentoo.org> ncftp-3.1.5.ebuild:
Mark stable on alpha
diff --git a/net-ftp/ncftp/files/ncftp-3.1.5-cjk.patch b/net-ftp/ncftp/files/ncftp-3.1.5-cjk.patch
new file mode 100644
index 000000000000..faa349f2eaeb
--- /dev/null
+++ b/net-ftp/ncftp/files/ncftp-3.1.5-cjk.patch
@@ -0,0 +1,12 @@
+diff -uNr ncftp-3.1.5/ncftp/getline.c ncftp-3.1.5.new/ncftp/getline.c
+--- ncftp-3.1.5/ncftp/getline.c 2002-10-13 09:33:48.000000000 +0900
++++ ncftp-3.1.5.new/ncftp/getline.c 2003-02-14 21:01:40.000000000 +0900
+@@ -367,7 +367,7 @@
+ {
+ int c;
+ #ifdef __unix__
+- char ch;
++ unsigned char ch;
+ #endif
+
+ #ifdef __unix__
diff --git a/net-ftp/ncftp/ncftp-3.1.5.ebuild b/net-ftp/ncftp/ncftp-3.1.5.ebuild
index 54b4c7c73177..b99e94134286 100644
--- a/net-ftp/ncftp/ncftp-3.1.5.ebuild
+++ b/net-ftp/ncftp/ncftp-3.1.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.1.5.ebuild,v 1.8 2003/03/09 20:37:10 agriffis Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.1.5.ebuild,v 1.9 2003/05/04 13:33:57 seo Exp $
+IUSE="cjk"
S=${WORKDIR}/${P}
DESCRIPTION="An extremely configurable ftp client"
SRC_URI="ftp://ftp.ncftp.com/ncftp/${P}-src.tar.bz2"
@@ -14,6 +14,13 @@ KEYWORDS="x86 ~ppc sparc alpha hppa"
DEPEND=">=sys-libs/ncurses-5.2"
+src_unpack() {
+ unpack ${P}-src.tar.bz2
+ cd ${S}
+
+ use cjk && epatch ${FILESDIR}/${P}-cjk.patch
+}
+
src_install() {
dodir /usr/share
einstall || die