summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-panel-plugins
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-03-02 00:01:43 +0100
committerArmin Kuster <akuster808@gmail.com>2018-03-16 19:12:26 -0700
commit0c906a04d8b69d07ab15360f2be5735cc3ee25b7 (patch)
tree6a44cf1512088942df9def89ac8bbf18f71d3bbd /meta-xfce/recipes-panel-plugins
parent2247e32017af19380c771c0a22143a2af528c32b (diff)
downloadmeta-openembedded-0c906a04d8b69d07ab15360f2be5735cc3ee25b7.tar.gz
xfce4-timer-plugin: update 1.6.0 -> 1.7.0
* 0001-Specify-string-format-explicitly.patch: Code was restructured and fix was done upstream. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-xfce/recipes-panel-plugins')
-rw-r--r--meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch32
-rw-r--r--meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb (renamed from meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb)6
2 files changed, 2 insertions, 36 deletions
diff --git a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch
deleted file mode 100644
index 3f0bb05af..000000000
--- a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin/0001-Specify-string-format-explicitly.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 6b786e1c161026ab5486ac218891a85db65bf3ba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 22 Mar 2017 15:28:24 -0700
4Subject: [PATCH] Specify string format explicitly
5
6Avoids below errors when compiling with -Wformat-security
7
8error: format string is not a string literal (potentially insecure)
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Pending
13
14 src/xfcetimer.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/xfcetimer.c b/src/xfcetimer.c
18index 601772f..4b89682 100644
19--- a/src/xfcetimer.c
20+++ b/src/xfcetimer.c
21@@ -190,7 +190,7 @@ static gboolean update_function (gpointer data){
22
23 dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
24 GTK_MESSAGE_WARNING,
25- GTK_BUTTONS_NONE, dialog_message);
26+ GTK_BUTTONS_NONE, "%s", dialog_message);
27
28 gtk_window_set_title ((GtkWindow *) dialog, dialog_title);
29
30--
312.12.0
32
diff --git a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb
index 961519285..2ddc6f67c 100644
--- a/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.6.0.bb
+++ b/meta-xfce/recipes-panel-plugins/timer/xfce4-timer-plugin_1.7.0.bb
@@ -6,7 +6,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ae39271267fd63eb7619432ff24e7ff1"
6 6
7inherit xfce-panel-plugin 7inherit xfce-panel-plugin
8 8
9SRC_URI += "file://0001-Specify-string-format-explicitly.patch" 9SRC_URI[md5sum] = "32e6a14e80bf9a93db2f2b3bfd7de920"
10 10SRC_URI[sha256sum] = "2e4e5343e39926230cc981d5fe56cd58a2f3817d2e9b6089b5673a2e39bf7e9b"
11SRC_URI[md5sum] = "3be2a4ccfb2af20441b1d25c2cea5f28"
12SRC_URI[sha256sum] = "39d7d21f099bc4219f6a6156142f0bbb8374986ee1970a9c0c8dc138b87f867c"