r30617 - in /desktop/experimental/epiphany-browser/debian: changelog patches/02_format-security.patch patches/series

kov at users.alioth.debian.org kov at users.alioth.debian.org
Sun Oct 16 16:16:09 UTC 2011


Author: kov
Date: Sun Oct 16 16:16:09 2011
New Revision: 30617

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=30617
Log:
New patch to fix -Wformat-security build errors

Added:
    desktop/experimental/epiphany-browser/debian/patches/02_format-security.patch
Modified:
    desktop/experimental/epiphany-browser/debian/changelog
    desktop/experimental/epiphany-browser/debian/patches/series

Modified: desktop/experimental/epiphany-browser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/epiphany-browser/debian/changelog?rev=30617&op=diff
==============================================================================
--- desktop/experimental/epiphany-browser/debian/changelog [utf-8] (original)
+++ desktop/experimental/epiphany-browser/debian/changelog [utf-8] Sun Oct 16 16:16:09 2011
@@ -12,6 +12,8 @@
   * debian/patches/03_dbus.patch:
   - Epiphany no longer uses dbus directly, but relies on GtkApplication
     for the functionality, which makes this patch obsolete
+  * debian/patches/02_format-security.patch:
+  - added; fix -Wformat-security build errors
 
  -- Gustavo Noronha Silva <kov at debian.org>  Sun, 16 Oct 2011 13:55:33 -0200
 

Added: desktop/experimental/epiphany-browser/debian/patches/02_format-security.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/epiphany-browser/debian/patches/02_format-security.patch?rev=30617&op=file
==============================================================================
--- desktop/experimental/epiphany-browser/debian/patches/02_format-security.patch (added)
+++ desktop/experimental/epiphany-browser/debian/patches/02_format-security.patch [utf-8] Sun Oct 16 16:16:09 2011
@@ -1,0 +1,30 @@
+Index: epiphany-browser-3.2.0/embed/ephy-request-about.c
+===================================================================
+--- epiphany-browser-3.2.0.orig/embed/ephy-request-about.c	2011-09-16 08:42:44.000000000 -0300
++++ epiphany-browser-3.2.0/embed/ephy-request-about.c	2011-10-16 14:00:15.153842642 -0200
+@@ -74,7 +74,7 @@
+   GError *error = NULL;
+ 
+   if (!g_file_get_contents (ephy_file ("about.css"), &about->priv->css_style, NULL, &error))
+-    g_debug (error->message);
++    g_debug ("%s", error->message);
+ }
+ 
+ static GInputStream *
+Index: epiphany-browser-3.2.0/src/ephy-window.c
+===================================================================
+--- epiphany-browser-3.2.0.orig/src/ephy-window.c	2011-10-16 14:06:26.177416940 -0200
++++ epiphany-browser-3.2.0/src/ephy-window.c	2011-10-16 14:06:54.090287619 -0200
+@@ -547,10 +547,10 @@
+ 					 GTK_DIALOG_MODAL,
+ 					 GTK_MESSAGE_WARNING,
+ 					 GTK_BUTTONS_CANCEL,
+-					 title);
++					 "%s", title);
+ 
+ 	gtk_message_dialog_format_secondary_text
+-		(GTK_MESSAGE_DIALOG (dialog), info);
++		(GTK_MESSAGE_DIALOG (dialog), "%s", info);
+ 	
+ 	gtk_dialog_add_button (GTK_DIALOG (dialog),
+ 			       action, GTK_RESPONSE_ACCEPT);

Modified: desktop/experimental/epiphany-browser/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/epiphany-browser/debian/patches/series?rev=30617&op=diff
==============================================================================
--- desktop/experimental/epiphany-browser/debian/patches/series [utf-8] (original)
+++ desktop/experimental/epiphany-browser/debian/patches/series [utf-8] Sun Oct 16 16:16:09 2011
@@ -1,5 +1,6 @@
 00_epiphany-browser.patch
 01_bookmarks_menu.patch
+02_format-security.patch
 05_libexecdir.patch
 07_bookmarks.patch
 10_smart_bookmarks.patch




More information about the pkg-gnome-commits mailing list