r30819 - in /packages/unstable/libgnomecups/debian: changelog patches/26_format-security.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Oct 19 22:51:12 UTC 2011


Author: biebl
Date: Wed Oct 19 22:51:12 2011
New Revision: 30819

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=30819
Log:
debian/patches/26_format-security.patch: Fix build failure with
[-Werror=format-security]. Closes: #643424

Added:
    packages/unstable/libgnomecups/debian/patches/26_format-security.patch
Modified:
    packages/unstable/libgnomecups/debian/changelog
    packages/unstable/libgnomecups/debian/patches/series

Modified: packages/unstable/libgnomecups/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgnomecups/debian/changelog?rev=30819&op=diff
==============================================================================
--- packages/unstable/libgnomecups/debian/changelog [utf-8] (original)
+++ packages/unstable/libgnomecups/debian/changelog [utf-8] Wed Oct 19 22:51:12 2011
@@ -6,8 +6,10 @@
 
   [ Michael Biebl ]
   * Switch to dpkg source format 3.0 (quilt).
-
- -- Michael Biebl <biebl at debian.org>  Wed, 19 Oct 2011 23:19:12 +0200
+  * debian/patches/26_format-security.patch: Fix build failure with
+    [-Werror=format-security]. Closes: #643424
+
+ -- Michael Biebl <biebl at debian.org>  Thu, 20 Oct 2011 00:50:40 +0200
 
 libgnomecups (0.2.3-3) unstable; urgency=low
 

Added: packages/unstable/libgnomecups/debian/patches/26_format-security.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgnomecups/debian/patches/26_format-security.patch?rev=30819&op=file
==============================================================================
--- packages/unstable/libgnomecups/debian/patches/26_format-security.patch (added)
+++ packages/unstable/libgnomecups/debian/patches/26_format-security.patch [utf-8] Wed Oct 19 22:51:12 2011
@@ -1,0 +1,25 @@
+Description: Fix build failure with [-Werror=format-security]
+Author: Michael Biebl <biebl at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643424
+Index: libgnomecups-0.2.3/libgnomecups/gnome-cups-request.c
+===================================================================
+--- libgnomecups-0.2.3.orig/libgnomecups/gnome-cups-request.c	2011-10-20 00:46:59.000000000 +0200
++++ libgnomecups-0.2.3/libgnomecups/gnome-cups-request.c	2011-10-20 00:48:51.692022324 +0200
+@@ -352,7 +352,7 @@
+ 		if (status > IPP_OK_CONFLICT && status != IPP_NOT_FOUND) {
+ 			g_warning ("IPP request failed with status %d", status);
+ 			if (request->error != NULL)
+-				*(request->error) = g_error_new (GNOME_CUPS_ERROR, 
++				*(request->error) = g_error_new_literal (GNOME_CUPS_ERROR,
+ 								 status, ippErrorString (status));
+ 		} else if (request->response && _gnome_cups_debug) {
+ 			g_print ("response = \n");
+@@ -363,7 +363,7 @@
+ 			request->path, request->output_fd);
+ 		request->response = NULL;
+ 		if (HTTP_OK != status && request->error != NULL)
+-			*(request->error) = g_error_new (GNOME_CUPS_ERROR, 
++			*(request->error) = g_error_new_literal (GNOME_CUPS_ERROR,
+ 							 status, httpStatus (status));
+ 	} else {
+ 		g_warning ("Neither request nor output_fd set");

Modified: packages/unstable/libgnomecups/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgnomecups/debian/patches/series?rev=30819&op=diff
==============================================================================
--- packages/unstable/libgnomecups/debian/patches/series [utf-8] (original)
+++ packages/unstable/libgnomecups/debian/patches/series [utf-8] Wed Oct 19 22:51:12 2011
@@ -3,3 +3,4 @@
 22_ignore-ipp-not-found.patch
 23_replace-set-printer-attrs.patch
 25_browsed_ppds.patch
+26_format-security.patch




More information about the pkg-gnome-commits mailing list