buildroot/package/dnsmasq
Fabrice Fontaine 17aa836bd7 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:

option.c: In function 'one_opt':
option.c:2445:11: error: 'for' loop initial declarations are only allowed in C99 mode
           for (char *p = arg; *p; p++) {
           ^
option.c:2445:11: note: use option -std=c99 or -std=gnu99 to compile your code
option.c:2453:11: error: 'for' loop initial declarations are only allowed in C99 mode
           for (u8 i = 0; i < sizeof(daemon->umbrella_device); i++, arg+=2) {
           ^

Fixes:
 - http://autobuild.buildroot.org/results/39b34a4e69fc10f4bd9d4ddb0ed8c0aae5741c84

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-01-04 18:49:20 +01:00
..
0001-src-option.c-fix-build-with-gcc-4.8.patch package/dnsmasq: fix build with gcc 4.8 2022-01-04 18:49:20 +01:00
0002-Fix-46312909d9080ff8743133fbd52427b4b2213171-typo.patch package/dnsmasq: fix build with gcc 4.8 2022-01-04 18:49:20 +01:00
Config.in
dnsmasq.hash
dnsmasq.mk
S80dnsmasq