summaryrefslogtreecommitdiff
path: root/app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch')
-rw-r--r--app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch b/app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch
index 07f1e2ee111d..4ea3b39fde02 100644
--- a/app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch
+++ b/app-editors/leafpad/files/leafpad-0.8.18.1-format-security.patch
@@ -1,7 +1,7 @@
- dialog.c:39:3: error: format not a string literal and no format arguments [-Werror=format-security]
---- src/dialog.c
-+++ src/dialog.c
+--- a/src/dialog.c
++++ b/src/dialog.c
@@ -36,6 +36,7 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
type,
@@ -18,8 +18,8 @@
str);
gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
gtk_dialog_add_buttons(GTK_DIALOG(dialog),
---- src/gtkprint.c
-+++ src/gtkprint.c
+--- a/src/gtkprint.c
++++ b/src/gtkprint.c
@@ -165,6 +165,7 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,