[DRE-maint] Bug#665899: Patch for FTBFS

Jurij Smakov jurij at wooyd.org
Mon Apr 16 15:45:59 UTC 2012


tags 665899 patch
thanks

Hello,

The current code only special-cases UTF16-LE encoding, everything else 
is simply converted to UTF-8. This causes a test failure on sparc, 
where native 16-bit encoding is UTF16-BE. As far as I can tell, the 
only effect of detecting the 16-bit encoding is to call sqlite3_open16 
instead of sqlite3_open_v2, so attached patch should do the trick. I 
verified that with it applied all tests pass on sparc and the package 
is successfully built.

Best regards, 
-- 
Jurij Smakov                                           jurij at wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-sqlite3.patch
Type: text/x-diff
Size: 1008 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20120416/0c4e0275/attachment.patch>


More information about the Pkg-ruby-extras-maintainers mailing list