diff options
Diffstat (limited to 'meta/packages/flex/files/fix-gen.patch')
-rw-r--r-- | meta/packages/flex/files/fix-gen.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/flex/files/fix-gen.patch b/meta/packages/flex/files/fix-gen.patch new file mode 100644 index 0000000000..55f4f6fdf5 --- /dev/null +++ b/meta/packages/flex/files/fix-gen.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- flex-2.5.31/gen.c~fix-gen | ||
7 | +++ flex-2.5.31/gen.c | ||
8 | @@ -1812,8 +1812,7 @@ | ||
9 | if (yytext_is_array) { | ||
10 | if (!reentrant){ | ||
11 | indent_puts ("static int yy_more_offset = 0;"); | ||
12 | - }else{ | ||
13 | - indent_puts ("static int yy_prev_more_offset = 0;"); | ||
14 | + indent_puts ("static int yy_prev_more_offset = 0;"); | ||
15 | } | ||
16 | } | ||
17 | else if (!reentrant) { | ||