]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gettext: fix formatting issues
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 20 Feb 2017 07:40:04 +0000 (07:40 +0000)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 20 Feb 2017 08:45:47 +0000 (08:45 +0000)
commita9f1245408436f9bdd61b6e5f12a43db5b5e46a3
tree68ea1d95dc7eae108f06028e35ca3c88070c2647
parentdef3800c7e58d9d1b54ea1df27b190a0f6d1d544
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]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/gettext/gettext-0.19.8.1/cr-statement.c-timsort.h-fix-formatting-issues.patch [new file with mode: 0644]
meta/recipes-core/gettext/gettext_0.19.8.1.bb