summaryrefslogtreecommitdiff
path: root/patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
committerLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
commit14842b32b65c6ff3f93427d5762041acf17c77f4 (patch)
treeead979553fcc09bd0c3052188fa0e0c3f313fa03 /patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y
Initial import of webkit 2.2.4 port
Diffstat (limited to 'patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y')
-rw-r--r--patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y b/patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y
new file mode 100644
index 0000000..3a6a8da
--- /dev/null
+++ b/patches/patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y
@@ -0,0 +1,22 @@
+$OpenBSD: patch-Source_ThirdParty_ANGLE_src_compiler_glslang_y,v 1.1 2014/01/29 17:28:05 ajacoutot Exp $
+
+XXX rm when bison(1) is updated
+Source/ThirdParty/ANGLE/src/compiler/glslang.y:52.1-5: invalid directive: `%code'
+
+--- Source/ThirdParty/ANGLE/src/compiler/glslang.y.orig Mon Jan 20 10:26:24 2014
++++ Source/ThirdParty/ANGLE/src/compiler/glslang.y Wed Jan 29 15:13:45 2014
+@@ -49,13 +49,11 @@ WHICH GENERATES THE GLSL ES PARSER (glslang_tab.cpp AN
+ %locations
+ %lex-param {YYLEX_PARAM}
+
+-%code requires {
++%union {
+ #define YYLTYPE TSourceLoc
+ #define YYLTYPE_IS_DECLARED 1
+ #define SH_MAX_TOKEN_LENGTH 256 // WebGL spec.
+-}
+
+-%union {
+ struct {
+ union {
+ TString *string;