webkit: fix build with bison 2.6
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Dec 2012 07:29:42 +0000 (07:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 15 Dec 2012 20:17:14 +0000 (21:17 +0100)
commitd11bb6da1c909d4961d6337479ca7fc0cd15ca64
tree7a0b6907476836943f141129131b257e099f6acc
parentd2d81f4b3420ae004bdcd3b3edf742ac7f10ff7a
webkit: fix build with bison 2.6

WebKit 1.2.7 does not build with Bison 2.6, but Bison 2.6 is our
host-bison, so if the build machine has bison 2.6, or if by chance it
gets built before webkit, then the build fails with errors such as:

  http://autobuild.buildroot.org/results/0b7cfbebd4388cabfa243b5ef74e3b6316fd9fd9/build-end.log

(the real error is not visible due to the overwhelming number of
warnings).

So, we add a patch that modifies WebKit to make it compatible with
Bison 2.6 (patch taken from upstream), and we also add 'host-bison' to
the WebKit dependencies, so that we are sure that a well-known version
of bison is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/webkit/webkit-bison-2-6-compat.patch [new file with mode: 0644]
package/webkit/webkit.mk