webkit-gtk: ANGLE doesn't build with bison 3

Use %lex-param to set YYLEX_PARAM.

(From OE-Core rev: 32d71ce184aa036b21116fcfaad799be59579329)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chong Lu
2015-04-14 02:07:14 -07:00
committed by Richard Purdie
parent 4f358389b2
commit 2b49fba71f
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
webkit-gtk: ANGLE doesn't build with bison 3
Use %lex-param to set YYLEX_PARAM.
Upstream-Status: Pending
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
Source/ThirdParty/ANGLE/src/compiler/glslang.y | 1 +
1 file changed, 1 insertion(+)
diff --git a/Source/ThirdParty/ANGLE/src/compiler/glslang.y b/Source/ThirdParty/ANGLE/src/compiler/glslang.y
index ec1a85c..15723cc 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/glslang.y
+++ b/Source/ThirdParty/ANGLE/src/compiler/glslang.y
@@ -32,6 +32,7 @@ WHICH GENERATES THE GLSL ES PARSER (glslang_tab.cpp AND glslang_tab.h).
%expect 1 /* One shift reduce conflict because of if | else */
%pure-parser
%parse-param {TParseContext* context}
+%lex-param {YYLEX_PARAM}
%union {
struct {
--
1.9.1

View File

@@ -26,6 +26,7 @@ SRC_URI = "\
file://obsolete_automake_macros.patch \
file://0001-Enable-mips64-build.patch \
file://aarch64.patch \
file://webkit-gtk-ANGLE-doesn-t-build-with-bison-3.patch \
"
SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6"