tools: pkg-config: fix build with GCC 6
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 10 May 2016 22:36:51 +0000 (22:36 +0000)
committerSven Eckelmann <sven.eckelmann@open-mesh.com>
Thu, 1 Sep 2016 11:40:41 +0000 (13:40 +0200)
commit6bc234ed60fbc33362ca5d72a1439620415f0985
treebf19bde5dbdd25f428088c48d05f2712e894023f
parentcb4f0719a52788d082520f078c2b6a7d53c0f47d
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>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
tools/pkg-config/patches/001-glib-gdate-suppress-string-format-literal-warning.patch [new file with mode: 0644]