diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-02-20 00:46:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:51 -0800 |
commit | 1e01b6102960db762661cff28af68015628801ea (patch) | |
tree | acc232fc16f330b1883480bc1523f61b14a4e545 /meta/recipes-core/gettext/gettext_0.19.8.1.bb | |
parent | f35aa16f37d8fc1ef7a154b23ae5f5f3e006a88a (diff) | |
download | poky-1e01b6102960db762661cff28af68015628801ea.tar.gz |
gettext: fix formatting issues
Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
| gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset':
| gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security]
| fprintf (a_fp, str) ;
And:
gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
[YOCTO #9544]
(From OE-Core rev: 41eb2da1b05515e3803a331686fa6ca763ae2e69)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext/gettext_0.19.8.1.bb')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.19.8.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb index 7b8c1e8eb4..557bf684e5 100644 --- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb +++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb | |||
@@ -13,6 +13,7 @@ RCONFLICTS_${PN} = "proxy-libintl" | |||
13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | 13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ |
14 | file://parallel.patch \ | 14 | file://parallel.patch \ |
15 | file://add-with-bisonlocaledir.patch \ | 15 | file://add-with-bisonlocaledir.patch \ |
16 | file://cr-statement.c-timsort.h-fix-formatting-issues.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | SRC_URI[md5sum] = "97e034cf8ce5ba73a28ff6c3c0638092" | 19 | SRC_URI[md5sum] = "97e034cf8ce5ba73a28ff6c3c0638092" |