tools: pkg-config: fix build with GCC 6
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 8 May 2016 13:53:14 +0000 (15:53 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 8 May 2016 21:37:40 +0000 (23:37 +0200)
commit741aa2a81684a89abc246431bef56198aece1693
tree420c2192abc2a941c91073c3df78c8ae461a2f3b
parent5b64e3532a15f7da18aa039ee83765a196cf1e0f
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>
tools/pkg-config/patches/001-glib-gdate-suppress-string-format-literal-warning.patch [new file with mode: 0644]