r31014 - in /packages/unstable/libgksu/debian: changelog patches/02_format-security.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Mon Oct 24 00:06:25 UTC 2011
Author: biebl
Date: Mon Oct 24 00:06:24 2011
New Revision: 31014
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=31014
Log:
* debian/patches/02_format-security.patch:
- Fix build failure with [-Werror=format-security]. Closes: #643423
Added:
packages/unstable/libgksu/debian/patches/02_format-security.patch
Modified:
packages/unstable/libgksu/debian/changelog
packages/unstable/libgksu/debian/patches/series
Modified: packages/unstable/libgksu/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgksu/debian/changelog?rev=31014&op=diff
==============================================================================
--- packages/unstable/libgksu/debian/changelog [utf-8] (original)
+++ packages/unstable/libgksu/debian/changelog [utf-8] Mon Oct 24 00:06:24 2011
@@ -3,6 +3,8 @@
* Switch to dpkg source format 3.0 (quilt).
* debian/control.in:
- Wrap dependencies.
+ * debian/patches/02_format-security.patch:
+ - Fix build failure with [-Werror=format-security]. Closes: #643423
-- Michael Biebl <biebl at debian.org> Mon, 24 Oct 2011 01:55:56 +0200
Added: packages/unstable/libgksu/debian/patches/02_format-security.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgksu/debian/patches/02_format-security.patch?rev=31014&op=file
==============================================================================
--- packages/unstable/libgksu/debian/patches/02_format-security.patch (added)
+++ packages/unstable/libgksu/debian/patches/02_format-security.patch [utf-8] Mon Oct 24 00:06:24 2011
@@ -1,0 +1,34 @@
+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=643423
+Index: libgksu-2.0.13~pre1/libgksu/libgksu.c
+===================================================================
+--- libgksu-2.0.13~pre1.orig/libgksu/libgksu.c 2011-10-24 02:00:19.000000000 +0200
++++ libgksu-2.0.13~pre1/libgksu/libgksu.c 2011-10-24 02:03:35.987931756 +0200
+@@ -1276,7 +1276,7 @@
+ context->dir = g_strdup (mkdtemp(template));
+ if (!context->dir)
+ {
+- fprintf (stderr, strerror(errno));
++ fprintf (stderr, "%s", strerror(errno));
+ return FALSE;
+ }
+
+@@ -2247,7 +2247,7 @@
+ " %s"), converted_str, "gksu: waiting");
+ g_free (converted_str);
+
+- g_set_error (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
++ g_set_error_literal (error, gksu_quark, GKSU_ERROR_HELPER, emsg);
+ g_free (emsg);
+
+ if (context->debug)
+@@ -2979,7 +2979,7 @@
+ }
+ }
+
+- fprintf(stderr, child_stderr);
++ fprintf(stderr, "%s", child_stderr);
+ g_free(child_stderr);
+
+ /* if error is set we have found an error condition */
Modified: packages/unstable/libgksu/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libgksu/debian/patches/series?rev=31014&op=diff
==============================================================================
--- packages/unstable/libgksu/debian/patches/series [utf-8] (original)
+++ packages/unstable/libgksu/debian/patches/series [utf-8] Mon Oct 24 00:06:24 2011
@@ -1,2 +1,3 @@
01_tcdrain_kfreebsd.patch
+02_format-security.patch
99_intltool.patch
More information about the pkg-gnome-commits
mailing list