kumquat-buildroot/package/dnsmasq
Fabrice Fontaine 610f52f3be package/dnsmasq: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since bump to
version 2.86 in commit 5b29096f8f:

pattern.c: In function 'is_valid_dns_name':
pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (const char *c = value;; c++)
   ^
pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
pattern.c: In function 'is_valid_dns_name_pattern':
pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (const char *c = value;; c++)
   ^

Fixes:
 - http://autobuild.buildroot.org/results/eb0c34ff58eaf103f51c7171ecd97a3bdb887601

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-03-03 22:26:01 +01:00
..
0001-src-option.c-fix-build-with-gcc-4.8.patch
0002-Fix-46312909d9080ff8743133fbd52427b4b2213171-typo.patch
0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch
0004-src-pattern.c-fix-build-with-gcc-4.8.patch
Config.in
dnsmasq.hash
dnsmasq.mk
S80dnsmasq