Package: libparserutils
Version: 0.0.1-1
Followup-For: Bug #634409
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmpMRCwIg
In Ubuntu, the attached patch was applied to fix the FTBFS.

Changelog :
  * debian/patches:
   - 01-remove-used-variable.patch: Remove unused variables to fix FTBFS
     (LP: #831077).


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-10-generic (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
only in patch2:
unchanged:
--- libparserutils-0.0.1.orig/debian/patches/series
+++ libparserutils-0.0.1/debian/patches/series
@@ -0,0 +1 @@
+01-remove-used-variable.patch
only in patch2:
unchanged:
--- libparserutils-0.0.1.orig/debian/patches/01-remove-used-variable.patch
+++ libparserutils-0.0.1/debian/patches/01-remove-used-variable.patch
@@ -0,0 +1,28 @@
+--- libparserutils-0.0.1.orig/src/input/inputstream.c
++++ libparserutils-0.0.1/src/input/inputstream.c
+@@ -478,23 +478,21 @@ parserutils_error parserutils_inputstrea
+               parserutils_buffer *buffer)
+ {
+       static uint16_t utf8;
+-      static uint16_t utf16;
+       static uint16_t utf16be;
+       static uint16_t utf16le;
+-      static uint16_t utf32;
+       static uint16_t utf32be;
+       static uint16_t utf32le;
+ 
+       if (utf8 == 0) {
+               utf8 = parserutils_charset_mibenum_from_name("UTF-8", 
+                               SLEN("UTF-8"));
+-              utf16 = parserutils_charset_mibenum_from_name("UTF-16", 
++              parserutils_charset_mibenum_from_name("UTF-16", 
+                               SLEN("UTF-16"));
+               utf16be = parserutils_charset_mibenum_from_name("UTF-16BE",
+                               SLEN("UTF-16BE"));
+               utf16le = parserutils_charset_mibenum_from_name("UTF-16LE",
+                               SLEN("UTF-16LE"));
+-              utf32 = parserutils_charset_mibenum_from_name("UTF-32", 
++              parserutils_charset_mibenum_from_name("UTF-32", 
+                               SLEN("UTF-32"));
+               utf32be = parserutils_charset_mibenum_from_name("UTF-32BE",
+                               SLEN("UTF-32BE"));

Reply via email to