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)
commit82616fc42de581e0d763935ba5071b21a5838904
tree45ae163474388470950f4133aefa714b7bee7d2e
parent4393efaaade5a69bc390ba2e9cb2be2aabc79b41
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]