diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-25 03:12:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-25 03:12:54 +0000 |
commit | 4bbe3ffec8868405a55dcaed1bff6ac5d4481c21 (patch) | |
tree | e1cc8bd5c93fa284c6b5f0597f2773844d058695 /app-text | |
parent | oops, removed - (diff) | |
download | gentoo-2-4bbe3ffec8868405a55dcaed1bff6ac5d4481c21.tar.gz gentoo-2-4bbe3ffec8868405a55dcaed1bff6ac5d4481c21.tar.bz2 gentoo-2-4bbe3ffec8868405a55dcaed1bff6ac5d4481c21.zip |
Grab latest Debian patchset to fix some bugs in recode (like #107089).
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/recode/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/recode/files/digest-recode-3.6-r2 | 2 | ||||
-rw-r--r-- | app-text/recode/files/recode-3.6-ppc-macos.diff | 17 | ||||
-rw-r--r-- | app-text/recode/recode-3.6-r2.ebuild | 42 |
4 files changed, 54 insertions, 17 deletions
diff --git a/app-text/recode/ChangeLog b/app-text/recode/ChangeLog index 751339718512..4d373a9bd78d 100644 --- a/app-text/recode/ChangeLog +++ b/app-text/recode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/recode -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.31 2005/05/16 05:44:22 ka0ttic Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.32 2005/09/25 03:12:54 vapier Exp $ + +*recode-3.6-r2 (25 Sep 2005) + + 25 Sep 2005; Mike Frysinger <vapier@gentoo.org> + files/recode-3.6-ppc-macos.diff, +recode-3.6-r2.ebuild: + Grab latest Debian patchset to fix some bugs in recode (like #107089). 16 May 2005; Aaron Walker <ka0ttic@gentoo.org> recode-3.6-r1.ebuild: Use toolchain-funcs.eclass instead of gcc.eclass. diff --git a/app-text/recode/files/digest-recode-3.6-r2 b/app-text/recode/files/digest-recode-3.6-r2 new file mode 100644 index 000000000000..5116a646b78e --- /dev/null +++ b/app-text/recode/files/digest-recode-3.6-r2 @@ -0,0 +1,2 @@ +MD5 be3f40ad2e93dae5cd5f628264bf1877 recode-3.6.tar.gz 1751886 +MD5 222967f4647e3f9a636d97ffa769e2f3 recode_3.6-11.diff.gz 263880 diff --git a/app-text/recode/files/recode-3.6-ppc-macos.diff b/app-text/recode/files/recode-3.6-ppc-macos.diff index bc005049957f..c71245d3765f 100644 --- a/app-text/recode/files/recode-3.6-ppc-macos.diff +++ b/app-text/recode/files/recode-3.6-ppc-macos.diff @@ -1,6 +1,5 @@ -diff -uNr recode/src/Makefile.in recode-new/src/Makefile.in ---- recode/src/Makefile.in Mon Jan 22 12:14:16 2001 -+++ recode-new/src/Makefile.in Tue Feb 1 14:03:47 2005 +--- recode/src/Makefile.in ++++ recode/src/Makefile.in @@ -165,11 +165,11 @@ strip-data$U.lo testdump$U.lo ucs$U.lo utf16$U.lo utf7$U.lo utf8$U.lo \ varia$U.lo vn$U.lo flat$U.lo html$U.lo lat1ltex$U.lo lat1txte$U.lo \ @@ -15,15 +14,3 @@ diff -uNr recode/src/Makefile.in recode-new/src/Makefile.in recode_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -diff -uNr recode/src/request.c recode-new/src/request.c ---- recode/src/request.c Wed Jun 28 13:40:21 2000 -+++ recode-new/src/request.c Tue Feb 1 14:05:13 2005 -@@ -1073,7 +1073,7 @@ - if (task->output.cursor + 4 >= task->output.limit) - { - RECODE_OUTER outer = task->request->outer; -- size_t old_size = task->output.limit - task->output.buffer; -+ size_t old_size = task->output.cursor - task->output.buffer; - size_t new_size = task->output.cursor + 4 - task->output.buffer; - - /* FIXME: Rethink about how the error should be reported. */ diff --git a/app-text/recode/recode-3.6-r2.ebuild b/app-text/recode/recode-3.6-r2.ebuild new file mode 100644 index 000000000000..5c43d0620aa3 --- /dev/null +++ b/app-text/recode/recode-3.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r2.ebuild,v 1.1 2005/09/25 03:12:54 vapier Exp $ + +inherit flag-o-matic eutils libtool + +DEB_VER=11 +DESCRIPTION="Convert files between various character sets" +HOMEPAGE="http://www.gnu.org/software/recode/" +SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz + mirror://debian/pool/main/r/recode/recode_${PV}-${DEB_VER}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/recode_${PV}-${DEB_VER}.diff + + if use ppc-macos; then + epatch "${FILESDIR}"/${P}-ppc-macos.diff + cp lib/error.c lib/xstrdup.c src/ || die "file copy failed" + elibtoolize + append-ldflags -lgettextlib + fi +} + +src_compile() { + econf $(use_enable nls) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS BACKLOG ChangeLog NEWS README THANKS TODO + rm -f "${D}"/usr/lib/charset.alias +} |