tags 676194 + pending
thanks

Dear maintainer,

I've prepared an NMU for ruby-xmlparser (versioned as 0.7.2-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Joint Venture: Ne Frau, die sich mich leisten kann
diff -Nru ruby-xmlparser-0.7.2/debian/changelog ruby-xmlparser-0.7.2/debian/changelog
--- ruby-xmlparser-0.7.2/debian/changelog	2011-06-16 21:57:54.000000000 +0200
+++ ruby-xmlparser-0.7.2/debian/changelog	2012-06-22 16:53:09.000000000 +0200
@@ -1,3 +1,13 @@
+ruby-xmlparser (0.7.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: xmlparser.c:1783:2: error: format not a string literal
+    and no format arguments [-Werror=format-security]": add patch
+    xmlparser-ftbfs-fix.patch from Andreas Stührk (adds format strings).
+    (Closes: #676194)
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 22 Jun 2012 16:52:46 +0200
+
 ruby-xmlparser (0.7.2-1) unstable; urgency=low
 
   * Switch to gem2deb-based packaging.
diff -Nru ruby-xmlparser-0.7.2/debian/patches/series ruby-xmlparser-0.7.2/debian/patches/series
--- ruby-xmlparser-0.7.2/debian/patches/series	2011-06-16 21:38:16.000000000 +0200
+++ ruby-xmlparser-0.7.2/debian/patches/series	2012-06-22 16:52:26.000000000 +0200
@@ -1,2 +1,3 @@
 replaces_gt_symbol_by_enconded_version.patch
 move-files-to-ext.patch
+xmlparser-ftbfs-fix.patch
diff -Nru ruby-xmlparser-0.7.2/debian/patches/xmlparser-ftbfs-fix.patch ruby-xmlparser-0.7.2/debian/patches/xmlparser-ftbfs-fix.patch
--- ruby-xmlparser-0.7.2/debian/patches/xmlparser-ftbfs-fix.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-xmlparser-0.7.2/debian/patches/xmlparser-ftbfs-fix.patch	2012-06-22 16:47:52.000000000 +0200
@@ -0,0 +1,20 @@
+--- ruby-xmlparser-0.7.2.orig/ext/xmlparser.c
++++ ruby-xmlparser-0.7.2/ext/xmlparser.c
+@@ -1780,7 +1780,7 @@ XMLParser_parse(int argc, VALUE* argv, V
+       if (!ret) {
+ 	int err = XML_GetErrorCode(parser->parser);
+ 	const char* errStr = XML_ErrorString(err);
+-	rb_raise(eXMLParserError, (char*)errStr);
++	rb_raise(eXMLParserError, "%s", errStr);
+       }
+     } while (!NIL_P(buf));
+     return Qnil;
+@@ -1829,7 +1829,7 @@ XMLParser_parse(int argc, VALUE* argv, V
+   if (!ret) {
+     int err = XML_GetErrorCode(parser->parser);
+     const char* errStr = XML_ErrorString(err);
+-    rb_raise(eXMLParserError, (char*)errStr);
++    rb_raise(eXMLParserError, "%s", errStr);
+   }
+ 
+   return Qnil;

Attachment: signature.asc
Description: Digital signature

Reply via email to