--- libtext-unaccent-perl-1.08.orig/MANIFEST +++ libtext-unaccent-perl-1.08/MANIFEST @@ -8,3 +8,4 @@ t/unac.t unac.c unac.h +META.yml Module meta-data (added by MakeMaker) --- libtext-unaccent-perl-1.08.orig/Unaccent.xs +++ libtext-unaccent-perl-1.08/Unaccent.xs @@ -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) { --- libtext-unaccent-perl-1.08.orig/debian/changelog +++ libtext-unaccent-perl-1.08/debian/changelog @@ -0,0 +1,95 @@ +libtext-unaccent-perl (1.08-1.3build2) disco; urgency=medium + + * No-change rebuild for the perl 5.28 transition. + + -- Adam Conrad Fri, 02 Nov 2018 18:13:47 -0600 + +libtext-unaccent-perl (1.08-1.3build1) artful; urgency=medium + + * No-change rebuild for perl 5.26.0. + + -- Matthias Klose Wed, 26 Jul 2017 20:10:33 +0000 + +libtext-unaccent-perl (1.08-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix a few "passing argument ... from incompatible pointer type" + warnings -- and a segfault. (Closes: #848156) + + -- Hilko Bengen Thu, 22 Dec 2016 01:46:01 +0100 + +libtext-unaccent-perl (1.08-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * changed from debhelper compatability level 3 to 9: + closes: #800257 + - changed (control) Build-Depends: debhelper (>= 9) + - added (control) Depends: ${misc:Depends} + - removed (rules) export DH_COMPAT=3 + - added new (compat) file + - replaced (rules) (deprecated) dh_clean -k + with dh_prep + * resolved lintian warnings: + - changed (copyright) FSF address + - added version in (copyright) + /usr/share/common-licenses/GPL-2 + - added (rules) targets build-indep & build-arch + - changed (rules) stop ignoring errors in make clean + + -- Andy Simpkins Sat, 20 Feb 2016 14:17:59 +0000 + +libtext-unaccent-perl (1.08-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR instead of PREFIX in debian/rules. + (Closes: #807401) + + -- gregor herrmann Thu, 10 Dec 2015 19:52:06 +0100 + +libtext-unaccent-perl (1.08-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Sun, 17 Oct 2004 21:06:32 +0200 + +libtext-unaccent-perl (1.07-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Mon, 2 Sep 2002 16:22:44 +0200 + +libtext-unaccent-perl (1.06-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Sat, 6 Jul 2002 15:28:27 +0200 + +libtext-unaccent-perl (1.05-2) unstable; urgency=low + + * Update maintainer info + * Closes: bug#111988 + + -- Loic Dachary (OuoU) Tue, 11 Sep 2001 18:22:44 +0200 + +libtext-unaccent-perl (1.05-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Thu, 19 Jul 2001 16:41:58 +0200 + +libtext-unaccent-perl (1.04-2) unstable; urgency=low + + * Remove useless README.Debian + * fix typo in copyright + * remove useless DESTDIR from rules + + -- Loic Dachary (OuoU) Wed, 18 Jul 2001 16:13:19 +0200 + +libtext-unaccent-perl (1.04-1) unstable; urgency=low + + * Initial Release. + + -- Loic Dachary (OuoU) Wed, 18 Jul 2001 14:32:19 +0200 + + --- libtext-unaccent-perl-1.08.orig/debian/compat +++ libtext-unaccent-perl-1.08/debian/compat @@ -0,0 +1 @@ +9 \ No newline at end of file --- libtext-unaccent-perl-1.08.orig/debian/control +++ libtext-unaccent-perl-1.08/debian/control @@ -0,0 +1,17 @@ +Source: libtext-unaccent-perl +Section: interpreters +Priority: optional +Build-Depends: debhelper (>= 9), perl (>= 5.6.1-7) +Maintainer: Loic Dachary (OuoU) +Standards-Version: 3.6.1 + +Package: libtext-unaccent-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: provides functions to remove accents using UTF16 as a pivot + Text::Unaccent is a module that provides functions to remove accents + from a string. For instance the string été will become ete. The + charset of the input string is specified as an argument. The input is + converted to UTF-16 using iconv(3), accents are stripped and the + result is converted back to the original charset. The iconv -l + command on GNU/Linux will show all charset supported. --- libtext-unaccent-perl-1.08.orig/debian/copyright +++ libtext-unaccent-perl-1.08/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Loic Dachary on +Tue, 17 Jul 2001 18:25:38 +0200. + +It was downloaded from http://www.senga.org/download/unac/ + +Author: Loic Dachary + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems the full text of these two licences can be found +in /usr/share/common-licenses/GPL-2 files. --- libtext-unaccent-perl-1.08.orig/debian/rules +++ libtext-unaccent-perl-1.08/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =`pwd`/debian/$(PACKAGE) + +OPTIMIZE = -O2 -Wall +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +OPTIMIZE += -g +endif + +build: build-stamp +build-stamp: + dh_testdir + + + # Add here commands to compile the package. + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH="" + + touch build-stamp + +build-indep: + +build-arch: build + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) realclean + + dh_clean + +install: + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=$(TMP) + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs README +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installinit +# dh_installcron + dh_installman +# dh_undocumented + dh_installchangelogs ChangeLog +# dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libtext-unaccent-perl-1.08.orig/unac.c +++ libtext-unaccent-perl-1.08/unac.c @@ -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;