pacho       14/12/17 09:49:07

  Added:                gtetrinet-0.7.11-format-security.patch
  Log:
  I forgot to commit the patch, thanks to wschlich for reporting
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.1                  
games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch?rev=1.1&content-type=text/plain

Index: gtetrinet-0.7.11-format-security.patch
===================================================================
Author: Jordi Mallach <jo...@debian.org>
Description: Fix build when using -Werror=format-security, now default
 on Debian.
Status: committed-upstream

--- gtetrinet-0.7.11.orig/src/tetrinet.c
+++ gtetrinet-0.7.11/src/tetrinet.c
@@ -232,7 +232,7 @@
             dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
                                              GTK_MESSAGE_ERROR,
                                              GTK_BUTTONS_OK,
-                                             buf);
+                                             "%s", buf);
             gtk_dialog_run (GTK_DIALOG(dialog));
             gtk_widget_destroy (dialog);
             g_free (data_utf8);




Reply via email to