summaryrefslogtreecommitdiff
path: root/dev-perl/Text-Unaccent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Text-Unaccent
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Text-Unaccent')
-rw-r--r--dev-perl/Text-Unaccent/Manifest6
-rw-r--r--dev-perl/Text-Unaccent/Text-Unaccent-1.80.0-r1.ebuild18
-rw-r--r--dev-perl/Text-Unaccent/files/text-unaccent_size_t.diff27
-rw-r--r--dev-perl/Text-Unaccent/metadata.xml12
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-perl/Text-Unaccent/Manifest b/dev-perl/Text-Unaccent/Manifest
new file mode 100644
index 000000000000..e58ab0c07c41
--- /dev/null
+++ b/dev-perl/Text-Unaccent/Manifest
@@ -0,0 +1,6 @@
+AUX text-unaccent_size_t.diff 961 SHA256 a990649f7bbcdfae09c53e82670de872e4c1c77c7d4b00180b459e3d9d9b418d SHA512 b8f08decdee4698b536c2f8e467b7d343d6378d4494ea8b3f3530a7457895e69bf9042ba73503c9155987bcd25e050be1394de6880ab192db891a95ba634a0d3 WHIRLPOOL 474930ced3b5644f33895c2f9d03be668727959b02407a6c0c4995fcca939b0ea5ed7d669d088f097124d25cee4c88c11e3c725f2cfef630ac09e44961e5dedb
+DIST Text-Unaccent-1.08.tar.gz 84476 SHA256 278e6efc9b24f3699c961efb36ebe602a3408b541572017dee131d152728732b SHA512 d2c6a308904d0f1d5cd05a9fd29436f54292ea537f2ad8f44b4ebc0523302db64bb087aeac1f8e51c093e71b205c6c4fd9649cf2c8cbf8b50266c0aa200917c8 WHIRLPOOL aadbb837dacc8c396c19ead92414cef08695be2119f176d367f0c6a1da59d1ed42cacbb67d6d816a085605f2540ca7a9db1770b08f7a4292ee5cb0977a9c7656
+EBUILD Text-Unaccent-1.80.0-r1.ebuild 454 SHA256 981184511b00e4d8be3ffb83fe3bda9c16dc2a172bee78871658d7e6f4c35a0c SHA512 d9eac6812689516474fb9ed1c50b0fb6de8f913efc76b8e3a5834baf3916167844be89fc7529d6062a2373431985df72c129b19188b4238550725bb4994acb4c WHIRLPOOL 0c0812b4340c0a960505e3afbe7dd80f04af75ec7261d9fe44ef78ced4dd80d9cfc1badee24c72bbb25e5b4dc706a23b534184b9a322d156e4db8afe18855286
+MISC ChangeLog 2489 SHA256 c1818e44ac9b7e8ebed4408b8c7590d38e5629ef1036b7614721577d005be9b3 SHA512 6ee3264bdb1bb9302505049213fde280b38c650b4d2e3004bd1cc83a58e575817510f23a74b51366ff9f006db495f62e4bf2fc0850f70a098130ce5094938eca WHIRLPOOL 0fac0d03e1317ee5f9c48c65833a936bb318bf9821e4161f9670ca7563f83b9743e8ae3f2dfb5b849c5f814f55247929a784907a2adf3f3577b413eeae128049
+MISC ChangeLog-2015 2914 SHA256 9ff48741edce9875c725bffb3d111de0b0bf631f691ad1403daadd0ebb20eb78 SHA512 e67166b021bac20b862183048f2a8da0e8a9b2727cc6153b109839d0586771dd3841f2c7b0e24628e71d8f75c8b231d5cdbc37c7aec17beb2f46cde4edb3197e WHIRLPOOL 1625614e7feab834f0c87bd5d9f088a891b01bbef8b9ade53f998d6d8ff72be43eb21ff27a554a74788450f09d734901990f8ce45c3b1a01c2d70e140d475d55
+MISC metadata.xml 398 SHA256 05e9fc76a0dda63adb00f16a8d5791fff5bb4d71db4696c2e7077e07f9857a98 SHA512 cf7fad7bfb7e134ad9863205e4184ebc1e64a31f638369450fd793f9319e8b668ed5e328e42c045567d58ef5e8b5d18447c00360138b42113621ef7183604e96 WHIRLPOOL 5017900aea54764e7555633075e5d0d172fc23c3a5cc67366eb732044b277fd86dc3df73c43d06b4b89cbb7e680108e3756a1dc854e2781f54c807d3dd32a9c5
diff --git a/dev-perl/Text-Unaccent/Text-Unaccent-1.80.0-r1.ebuild b/dev-perl/Text-Unaccent/Text-Unaccent-1.80.0-r1.ebuild
new file mode 100644
index 000000000000..71cdcb707d26
--- /dev/null
+++ b/dev-perl/Text-Unaccent/Text-Unaccent-1.80.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=LDACHARY
+MODULE_VERSION=1.08
+inherit perl-module
+
+DESCRIPTION="Removes accents from a string"
+
+LICENSE="|| ( GPL-2 GPL-3 )" #GPL-2+
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE=""
+
+SRC_TEST="do"
+PATCHES=( "${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)
+ {
diff --git a/dev-perl/Text-Unaccent/metadata.xml b/dev-perl/Text-Unaccent/metadata.xml
new file mode 100644
index 000000000000..68ec3a3c37ba
--- /dev/null
+++ b/dev-perl/Text-Unaccent/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Text-Unaccent</remote-id>
+ <remote-id type="cpan-module">Text::Unaccent</remote-id>
+ </upstream>
+</pkgmetadata>