summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Text-Unaccent/ChangeLog7
-rw-r--r--dev-perl/Text-Unaccent/Manifest26
-rw-r--r--dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild12
-rw-r--r--dev-perl/Text-Unaccent/files/text-unaccent_size_t.diff27
4 files changed, 56 insertions, 16 deletions
diff --git a/dev-perl/Text-Unaccent/ChangeLog b/dev-perl/Text-Unaccent/ChangeLog
index 7ef1af792557..849442944ff4 100644
--- a/dev-perl/Text-Unaccent/ChangeLog
+++ b/dev-perl/Text-Unaccent/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/Text-Unaccent
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Unaccent/ChangeLog,v 1.12 2006/08/06 00:31:04 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Unaccent/ChangeLog,v 1.13 2006/08/25 13:25:18 mcummings Exp $
+
+ 25 Aug 2006; Michael Cummings <mcummings@gentoo.org>
+ +files/text-unaccent_size_t.diff, Text-Unaccent-1.08.ebuild:
+ Patch from novas0x2a - sizeof(size_t) != sizeof(int) after all. Tested on
+ x86, sparc, amd64.
06 Aug 2006; Michael Cummings <mcummings@gentoo.org>
Text-Unaccent-1.08.ebuild:
diff --git a/dev-perl/Text-Unaccent/Manifest b/dev-perl/Text-Unaccent/Manifest
index 223ebc2cfa52..84a92eecc3ee 100644
--- a/dev-perl/Text-Unaccent/Manifest
+++ b/dev-perl/Text-Unaccent/Manifest
@@ -1,15 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX text-unaccent_size_t.diff 961 RMD160 40f9bd53df7e2ec47fd588cb58e6bb4b51d1b54c SHA1 5031358b7c5d4d819b27ce9fb346060a30bcb956 SHA256 a990649f7bbcdfae09c53e82670de872e4c1c77c7d4b00180b459e3d9d9b418d
+MD5 dd3696354820990d58c404978657ff1e files/text-unaccent_size_t.diff 961
+RMD160 40f9bd53df7e2ec47fd588cb58e6bb4b51d1b54c files/text-unaccent_size_t.diff 961
+SHA256 a990649f7bbcdfae09c53e82670de872e4c1c77c7d4b00180b459e3d9d9b418d files/text-unaccent_size_t.diff 961
DIST Text-Unaccent-1.08.tar.gz 84476 RMD160 884a9dcfd0eb2fc5a8f34fba6be1b350842e23cf SHA1 47697145e1deb448753b1b9cdff13ff8bf7fd28d SHA256 278e6efc9b24f3699c961efb36ebe602a3408b541572017dee131d152728732b
-EBUILD Text-Unaccent-1.08.ebuild 596 RMD160 79f3da0a28698f1d807a71589e32136361b61471 SHA1 b1834eced992dee6911b0339178397cc00556daa SHA256 a03a3b70c376fc458309c8230b6038d11e4546f1377d7fb5de2d138d044fb407
-MD5 9e0ae442239ea95b90d6e9d0c089fac4 Text-Unaccent-1.08.ebuild 596
-RMD160 79f3da0a28698f1d807a71589e32136361b61471 Text-Unaccent-1.08.ebuild 596
-SHA256 a03a3b70c376fc458309c8230b6038d11e4546f1377d7fb5de2d138d044fb407 Text-Unaccent-1.08.ebuild 596
-MISC ChangeLog 1596 RMD160 0bfe774220b1f8cb799d3f412f67c0525d3e383c SHA1 603a19e245e0ae23352131ea4d0b42f454ed8d6e SHA256 1db883592518e05543e1593b60223e785a2e7b134171cad9c7bf5730b9e25a2b
-MD5 f4da90997748645e5b4e9f9d1ee29f3f ChangeLog 1596
-RMD160 0bfe774220b1f8cb799d3f412f67c0525d3e383c ChangeLog 1596
-SHA256 1db883592518e05543e1593b60223e785a2e7b134171cad9c7bf5730b9e25a2b ChangeLog 1596
+EBUILD Text-Unaccent-1.08.ebuild 626 RMD160 d3fddbe2fa6bb6991289c635aaa277527eb37614 SHA1 a66e21e75122a0cbd32d2571686329e682b06a4d SHA256 a0d4f9ceb0953d1606c0471646ca6151102eef826c089165a7a8c140f43cfab0
+MD5 16dce9307b044713c2cb7a26d37ac9d4 Text-Unaccent-1.08.ebuild 626
+RMD160 d3fddbe2fa6bb6991289c635aaa277527eb37614 Text-Unaccent-1.08.ebuild 626
+SHA256 a0d4f9ceb0953d1606c0471646ca6151102eef826c089165a7a8c140f43cfab0 Text-Unaccent-1.08.ebuild 626
+MISC ChangeLog 1812 RMD160 b951768d36067cde92e2fc828dc4f219039490f9 SHA1 a1c8377825d3cd9fd7430eddbfa81d2abfb00950 SHA256 4e2aa58f596a1c733a1cc1e657275423e11d0505ab6fd517842ee6ce0dfd1770
+MD5 5f74f19b7dd401dc5134798e070b20da ChangeLog 1812
+RMD160 b951768d36067cde92e2fc828dc4f219039490f9 ChangeLog 1812
+SHA256 4e2aa58f596a1c733a1cc1e657275423e11d0505ab6fd517842ee6ce0dfd1770 ChangeLog 1812
MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305
@@ -20,7 +24,7 @@ SHA256 53eabea922a739acc06d763c15fc828a18abe44cb30567d470ef36f27dc0b6e9 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFE1ThdtG5z4I8BtQoRAnxuAJ0UnQfvxArQuKHNwVX3CSj9NeyJtgCfWdgF
-wibLHPPQoKf/UPly7Klo8Z4=
-=ryB3
+iD8DBQFE7vpQtG5z4I8BtQoRAkDiAJ4wiZ6t+V01hopbnYA1Fxx2MD1bUwCfZbsx
+PRzQ3s2YId0i3xh1YoSUh3I=
+=QKtt
-----END PGP SIGNATURE-----
diff --git a/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild b/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild
index f38484a4fb99..39cf77b58771 100644
--- a/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild
+++ b/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild,v 1.12 2006/08/06 00:31:04 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Unaccent/Text-Unaccent-1.08.ebuild,v 1.13 2006/08/25 13:25:18 mcummings Exp $
-inherit perl-module
+inherit perl-module eutils
DESCRIPTION="Removes accents from a string"
HOMEPAGE="http://search.cpan.org/~ldachary/${P}/"
@@ -10,7 +10,6 @@ SRC_URI="mirror://cpan/authors/id/L/LD/LDACHARY/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-#KEYWORDS="~x86 ~sparc ~alpha ~ppc ~amd64"
KEYWORDS="alpha ~amd64 hppa ia64 ppc sparc x86"
IUSE=""
@@ -18,4 +17,9 @@ SRC_TEST="do"
DEPEND="dev-lang/perl"
-RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/text-unaccent_size_t.diff
+}
diff --git a/dev-perl/Text-Unaccent/files/text-unaccent_size_t.diff b/dev-perl/Text-Unaccent/files/text-unaccent_size_t.diff
new file mode 100644
index 000000000000..5bd45f6f2ad6
--- /dev/null
+++ b/dev-perl/Text-Unaccent/files/text-unaccent_size_t.diff
@@ -0,0 +1,27 @@
+diff -ur Text-Unaccent-1.08/unac.c Text-Unaccent-1.08-mod/unac.c
+--- Text-Unaccent-1.08/unac.c 2004-10-17 12:00:36.000000000 -0700
++++ Text-Unaccent-1.08-mod/unac.c 2006-08-24 22:37:35.000000000 -0700
+@@ -13881,9 +13881,9 @@
+ *out_lengthp = 0;
+ } else {
+ char* utf16 = 0;
+- int utf16_length = 0;
++ size_t utf16_length = 0;
+ char* utf16_unaccented = 0;
+- int utf16_unaccented_length = 0;
++ size_t utf16_unaccented_length = 0;
+
+ if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) {
+ return -1;
+diff -ur Text-Unaccent-1.08/Unaccent.xs Text-Unaccent-1.08-mod/Unaccent.xs
+--- Text-Unaccent-1.08/Unaccent.xs 2004-12-29 03:45:18.000000000 -0800
++++ Text-Unaccent-1.08-mod/Unaccent.xs 2006-08-24 22:35:57.000000000 -0700
+@@ -35,7 +35,7 @@
+ #include "unac.h"
+
+ static char* buffer;
+-static int buffer_length;
++static size_t buffer_length;
+
+ static void unac_debug_print(const char* message, void* data)
+ {