package/meson-tools: fix build with older gcc versions
authorDagg Stompler <daggs@gmx.com>
Fri, 11 Sep 2020 09:39:22 +0000 (12:39 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 21:03:04 +0000 (23:03 +0200)
commitb70114eecd47fc7d95361c5ef01bcd25cf8f6a55
tree09fee925fd94d590d53b1b7d1974565a0cae20a1
parent28c28ba303ee14bfeb6b1b25c300f5bc03d771f6
package/meson-tools: fix build with older gcc versions

The meson-tools code uses C99 constructs without passing -std=c99,
which causes the build to fail with old gcc versions. Since there are
very few instances of C99 constructs, we simply patch them out.

Fixes:

 - http://autobuild.buildroot.net/results/602d474a12cf2400e4f38ffad903758d7fd9f2f5
 - http://autobuild.buildroot.net/results/65cfe582ce60fcff18afd008c3d469471ffb0e49

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch [new file with mode: 0644]