diff options
Diffstat (limited to 'debian/patches/0100-gtk.patch')
-rw-r--r-- | debian/patches/0100-gtk.patch | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/debian/patches/0100-gtk.patch b/debian/patches/0100-gtk.patch deleted file mode 100644 index b37e835..0000000 --- a/debian/patches/0100-gtk.patch +++ /dev/null @@ -1,68 +0,0 @@ -Description: prevend gcc format-security errors -Author: Jörg Frings-Fürst <debian@jff-webhosting.net> -Forwarded: https://sourceforge.net/p/xtrkcad-fork/bugs/163/ -Last-Update: 2016-12-29 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ -Index: trunk/app/wlib/gtklib/print.c -=================================================================== ---- trunk.orig/app/wlib/gtklib/print.c -+++ trunk/app/wlib/gtklib/print.c -@@ -118,7 +118,7 @@ WlibApplySettings(GtkPrintOperation *op) - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- err->message); -+ "%s", err->message); - gtk_dialog_run(GTK_DIALOG(dialog)); - gtk_widget_destroy(dialog); - } else { -@@ -144,7 +144,7 @@ WlibApplySettings(GtkPrintOperation *op) - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- err->message); -+ "%s", err->message); - gtk_dialog_run(GTK_DIALOG(dialog)); - gtk_widget_destroy(dialog); - } else { -@@ -193,7 +193,7 @@ WlibSaveSettings(GtkPrintOperation *op) - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- err->message); -+ "%s", err->message); - - g_error_free(err); - gtk_dialog_run(GTK_DIALOG(dialog)); -@@ -216,7 +216,7 @@ WlibSaveSettings(GtkPrintOperation *op) - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- err->message); -+ "%s", err->message); - - g_error_free(err); - gtk_dialog_run(GTK_DIALOG(dialog)); -@@ -900,7 +900,7 @@ doPrintJobFinished(GtkPrintJob *job, voi - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- err->message); -+ "%s", err->message); - } - } - -Index: trunk/app/wlib/gtklib/text.c -=================================================================== ---- trunk.orig/app/wlib/gtklib/text.c -+++ trunk/app/wlib/gtklib/text.c -@@ -360,7 +360,7 @@ wBool_t wTextPrint( - dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, -- error->message); -+ "%s", error->message); - g_error_free(error); - gtk_dialog_run(GTK_DIALOG(dialog)); - gtk_widget_destroy(dialog); |