[Bug 460640] [NEW] does not work on 64 bit + patch

Ken Foskey foskey at tpg.com.au
Sun Oct 25 20:10:59 UTC 2009


Public bug reported:

Binary package hint: libtext-unaccent-perl

This does not work correctly on 64 bit.  A google found this report:

OT: Fix for Text::Unaccent on 64 bit systems
October 8th, 2009

[ MusicBrainz readers: Please ignore this post -- its only so that
others can find the solution to a problem I just solved ]

If you are running the Perl module Text::Unaccent (version 1.07) on a 64
bit system, you’ll find that it fails its test cases. This is due to a
mismatched type in the Perl module. Apply this patch to your
Text::Unaccent code, recompile and the tests will pass!

Only in Text-Unaccent-1.07-rk/: Makefile.old
Common subdirectories: Text-Unaccent-1.07/t and Text-Unaccent-1.07-rk/t
diff Text-Unaccent-1.07/unac.c Text-Unaccent-1.07-rk/unac.c
12826c12826
<     int utf16_length = 0;
---
>     size_t utf16_length = 0;
12828c12828
<     int utf16_unaccented_length = 0;
---
>     size_t utf16_unaccented_length = 0;
diff Text-Unaccent-1.07/Unaccent.xs Text-Unaccent-1.07-rk/Unaccent.xs
38c38
< static int buffer_length;
---
> static size_t buffer_length;

** Affects: libtext-unaccent-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
does not work on 64 bit + patch
https://bugs.launchpad.net/bugs/460640
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list