summaryrefslogtreecommitdiff
path: root/packages/flex/files/fix-gen.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-01 12:52:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 12:52:58 +0000
commitab67190c725b7084dcb313a800dd2efa679789cb (patch)
tree15b4a0293e5dcc72f84ebf742eaba167ffee1719 /packages/flex/files/fix-gen.patch
parenta14d3881700b6e5cd6b6b414bf81094b2e0d903c (diff)
flex: add patch for flex bug 720976
Diffstat (limited to 'packages/flex/files/fix-gen.patch')
-rw-r--r--packages/flex/files/fix-gen.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/flex/files/fix-gen.patch b/packages/flex/files/fix-gen.patch
new file mode 100644
index 0000000000..55f4f6fdf5
--- /dev/null
+++ b/packages/flex/files/fix-gen.patch
@@ -0,0 +1,17 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- flex-2.5.31/gen.c~fix-gen
++++ flex-2.5.31/gen.c
+@@ -1812,8 +1812,7 @@
+ if (yytext_is_array) {
+ if (!reentrant){
+ indent_puts ("static int yy_more_offset = 0;");
+- }else{
+- indent_puts ("static int yy_prev_more_offset = 0;");
++ indent_puts ("static int yy_prev_more_offset = 0;");
+ }
+ }
+ else if (!reentrant) {