tools: pkg-config: fix build with GCC 6
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:51 +0000 (22:36 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:51 +0000 (22:36 +0000)
commit62659280966aa2a42615579545f237ead79995f8
tree50893709dc59c0bddddf587c1e466c43990ce5f9
parentae8c83d62748f59eeeba71c1138cd6347e79eaba
tools: pkg-config: fix build with GCC 6

Fixes the following error:

gdate.c: In function ‘g_date_strftime’:
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49342
tools/pkg-config/patches/001-glib-gdate-suppress-string-format-literal-warning.patch [new file with mode: 0644]