diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-27 19:08:17 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-01 09:59:27 +0200 |
commit | 27fa98a9ea71a3da6bb81d88a4652b770cecfabf (patch) | |
tree | 680aaa47bd4c73cadc3f264adcab54093d262cec /meta-gnome | |
parent | dab4099c96f3d9304e85c02436df770d7304c148 (diff) | |
download | meta-openembedded-27fa98a9ea71a3da6bb81d88a4652b770cecfabf.tar.gz |
wv: Fix build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-wvRTF.c-Specify-print-format-in-rtf_output.patch | 26 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/wv/wv_1.2.4.bb | 3 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-wvRTF.c-Specify-print-format-in-rtf_output.patch b/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-wvRTF.c-Specify-print-format-in-rtf_output.patch new file mode 100644 index 000000000..2fc3f367f --- /dev/null +++ b/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-wvRTF.c-Specify-print-format-in-rtf_output.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 079529b8d5e339e2211fa2f8c15543a738a627bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 27 Jun 2017 14:50:51 -0700 | ||
4 | Subject: [PATCH] wvRTF.c: Specify print format in rtf_output() | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | wvRTF.c | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/wvRTF.c b/wvRTF.c | ||
12 | index 361d258..4f24b30 100644 | ||
13 | --- a/wvRTF.c | ||
14 | +++ b/wvRTF.c | ||
15 | @@ -192,7 +192,7 @@ output_rtfUserData (rtfUserData * ud) | ||
16 | rtf_output_char ('{'); | ||
17 | |||
18 | /* font color */ | ||
19 | - rtf_output (rtfColors[ud->cCol]); | ||
20 | + rtf_output ("%s", rtfColors[ud->cCol]); | ||
21 | |||
22 | /* font face */ | ||
23 | rtf_output ("\\f%d", ud->cFont); | ||
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb b/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb index 6489c6f19..8ed1fcd15 100644 --- a/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb +++ b/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb | |||
@@ -8,7 +8,8 @@ DEPENDS = "libgsf glib-2.0 libpng" | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ |
9 | file://pkgconfig.patch \ | 9 | file://pkgconfig.patch \ |
10 | file://0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch \ | 10 | file://0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch \ |
11 | " | 11 | file://0001-wvRTF.c-Specify-print-format-in-rtf_output.patch \ |
12 | " | ||
12 | 13 | ||
13 | SRC_URI[md5sum] = "c1861c560491f121e12917fa76970ac5" | 14 | SRC_URI[md5sum] = "c1861c560491f121e12917fa76970ac5" |
14 | SRC_URI[sha256sum] = "673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6" | 15 | SRC_URI[sha256sum] = "673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6" |