c081b207ee17ff1fc00383587c875e78f5a96379
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / webkit / 0008-support-bison-3.0.patch
1 ANGLE doesn't build with bison 3.0
2
3 Author: allan.jensen@digia.com
4 ​https://bugs.webkit.org/show_bug.cgi?id=119798
5 Reviewed by Antti Koivisto.
6 Make glslang.y compatible with bison 3.0, by using %lex-param
7 to set YYLEX_PARAM and getting rid of useless YYID macro.
8
9 From upstream: http://trac.webkit.org/changeset/154109
10 [Arnout: adapted to our older webkit version]
11 Signed-off-by: Arnout Vandecaeppelle (Essensium/Mind) <arnout@mind.be>
12 ---
13 Index: trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y
14 ===================================================================
15 --- trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y        (revision 154108)
16 +++ trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y        (revision 154109)
17 @@ -48,4 +48,5 @@
18  %pure-parser
19  %parse-param {TParseContext* context}
20 +%lex-param {YYLEX_PARAM}
21  
22  %union {