package/turbolua: Fix build with gcc7
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Tue, 26 Sep 2017 13:37:16 +0000 (15:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Oct 2017 20:40:41 +0000 (22:40 +0200)
commitd1839b7f0e7c6be2e90887b27dee58d9a0441771
tree757967f9883d9b3497b12b088b9064b64fb3c09c
parente9c6f24727e2c1ab0b9d46f2bc2452316551895e
package/turbolua: Fix build with gcc7

gcc7 has -Wimplicit-fallthrough enabled by default. Together with
-Werror in turbolua makefile it gives -Werror=implicit-fallthrough=
build error.

Add upstreamable patch [1], which fixes typo in FALLTHROUGH comment,
so it makes the fallthrough explicit for gcc.

[1] https://github.com/kernelsauce/turbo/pull/323

Fixes:
http://autobuild.buildroot.net/results/6f107b62f105508044185576b071323e5d73dd83
http://autobuild.buildroot.net/results/d303929960c667a21181d0bbdab64ba8a8d56a4f

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/turbolua/0001-http-parser-Fix-typo-in-switch-FALLTHROUGH-comment.patch [new file with mode: 0644]