flatcc: fix build with gcc 8
authorBaruch Siach <baruch@tkos.co.il>
Sun, 10 Jun 2018 18:28:18 +0000 (21:28 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Jun 2018 06:41:21 +0000 (08:41 +0200)
commit82818284ed77276902b49f4b82106faf43b89003
tree4fc56bf261036598be1cae0853a21a56e97e68c7
parent2b88def5db35fc3f3b4e68c664c230bba33f0bb3
flatcc: fix build with gcc 8

gcc 8 enables a strncpy() warning. This breaks the build of flatcc that
enables -Werror. Add upstream patch fixing the issue.

Fixes:
http://autobuild.buildroot.net/results/0e3/0e3a959855fad5899db184f7d2c960c89df03672/
http://autobuild.buildroot.net/results/d2c/d2c03bc253bdf135b0f31f3d1e6fd33f7d37d64b/
http://autobuild.buildroot.net/results/163/1636ec6ddad92add95f42451d941156451c6d936/

Cc: Joel Carlson <JoelsonCarl@gmail.com>
Cc: Mikkel Fahnøe Jørgensen <mikkel@dvide.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com>
Tested-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/flatcc/0001-Remove-strncpy-gcc-8-warning-add-flatbuffers_type_ha.patch [new file with mode: 0644]