summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-08-01 16:27:42 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-02 11:23:03 -0700
commit78de74100807303fe304ea0f088317d2aa0be917 (patch)
tree7c5701251a2bcd33546ed951dad6f2b1193f3a39 /meta-gnome
parentff85192d7c0576c3d89387e53d5ca0b7b3c41659 (diff)
downloadmeta-openembedded-78de74100807303fe304ea0f088317d2aa0be917.tar.gz
usermode: 1.111 -> 1.112
- Drop 0001-formatting-issues.patch which upstream fixed the issue Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-support/usermode/usermode/0001-Missing-n-in-translated-string.patch28
-rw-r--r--meta-gnome/recipes-support/usermode/usermode/0001-formatting-issues.patch34
-rw-r--r--meta-gnome/recipes-support/usermode/usermode_1.112.bb (renamed from meta-gnome/recipes-support/usermode/usermode_1.111.bb)6
3 files changed, 31 insertions, 37 deletions
diff --git a/meta-gnome/recipes-support/usermode/usermode/0001-Missing-n-in-translated-string.patch b/meta-gnome/recipes-support/usermode/usermode/0001-Missing-n-in-translated-string.patch
new file mode 100644
index 000000000..9db700e96
--- /dev/null
+++ b/meta-gnome/recipes-support/usermode/usermode/0001-Missing-n-in-translated-string.patch
@@ -0,0 +1,28 @@
1From 7cbc6441cd06e0c0bb51ac37c8f22b0fd51f12f2 Mon Sep 17 00:00:00 2001
2From: Jiri Kucera <jkucera@redhat.com>
3Date: Wed, 11 Apr 2018 17:13:44 +0200
4Subject: [PATCH] Missing \n in translated string
5
6Upstream-Status: Backport
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 po/tr.po | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/po/tr.po b/po/tr.po
14index 84e5021..a28e947 100644
15--- a/po/tr.po
16+++ b/po/tr.po
17@@ -408,7 +408,7 @@ msgstr "Grafik pencere açılamadı ve uçbirim denetimi bulunamadı.\n"
18 #: ../../po/../userpasswd.c:37
19 #, c-format
20 msgid "Unexpected command-line arguments\n"
21-msgstr "Beklenmeyen komut satırı argümanları"
22+msgstr "Beklenmeyen komut satırı argümanları\n"
23
24 #: ../../po/../userinfo.c:411
25 #, c-format
26--
272.7.4
28
diff --git a/meta-gnome/recipes-support/usermode/usermode/0001-formatting-issues.patch b/meta-gnome/recipes-support/usermode/usermode/0001-formatting-issues.patch
deleted file mode 100644
index 9d512d439..000000000
--- a/meta-gnome/recipes-support/usermode/usermode/0001-formatting-issues.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 7a316dad0697af2ef4e8079a5af51565a8195aa6 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 24 Jul 2017 01:42:30 -0400
4Subject: [PATCH] userhelper.c: fix formatting issues
5
6Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
7|../usermode-1.111/userhelper.c:585:4: error: format not a string
8literal and no format arguments [-Werror=format-security]
9| text = g_strdup_printf(dgettext(data->domain, data->banner));
10| ^~~~
11
12Upstream-Status: Pending
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15---
16 userhelper.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/userhelper.c b/userhelper.c
20index 76ad492..ee0da49 100644
21--- a/userhelper.c
22+++ b/userhelper.c
23@@ -582,7 +582,7 @@ converse_console(int num_msg, const struct pam_message **msg,
24
25 if (banner == 0) {
26 if ((data->banner != NULL) && (data->domain != NULL)) {
27- text = g_strdup_printf(dgettext(data->domain, data->banner));
28+ text = g_strdup_printf("%s", dgettext(data->domain, data->banner));
29 } else {
30 if ((service != NULL) && (strlen(service) > 0)) {
31 if (data->fallback_allowed) {
32--
332.8.1
34
diff --git a/meta-gnome/recipes-support/usermode/usermode_1.111.bb b/meta-gnome/recipes-support/usermode/usermode_1.112.bb
index 3aea2e6bb..51f81a1fa 100644
--- a/meta-gnome/recipes-support/usermode/usermode_1.111.bb
+++ b/meta-gnome/recipes-support/usermode/usermode_1.112.bb
@@ -14,12 +14,12 @@ DEPENDS = "libuser ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '',
14" 14"
15 15
16SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \ 16SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \
17 file://0001-formatting-issues.patch \
18 file://0001-fix-compile-failure-against-musl-C-library.patch \ 17 file://0001-fix-compile-failure-against-musl-C-library.patch \
19 file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \ 18 file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \
19 file://0001-Missing-n-in-translated-string.patch \
20 " 20 "
21SRC_URI[md5sum] = "28ba510fbd8da9f4e86e57d6c31cff29" 21SRC_URI[md5sum] = "a766a9f7600f573fb6de4655d4162196"
22SRC_URI[sha256sum] = "3dd0b9639b5bd396b7ea5fada6aaa694dbfdaa3ad06eb95a6eabcdfd02f875c6" 22SRC_URI[sha256sum] = "37c4d667209da14082c08df6e48fe955d1532efebd5322f13f94683c6cc10370"
23 23
24LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 24LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
25 25