diff options
Diffstat (limited to 'multimedia/ming/patches/patch-ag')
-rw-r--r-- | multimedia/ming/patches/patch-ag | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/multimedia/ming/patches/patch-ag b/multimedia/ming/patches/patch-ag new file mode 100644 index 00000000000..0c2a615b4f7 --- /dev/null +++ b/multimedia/ming/patches/patch-ag @@ -0,0 +1,27 @@ +$NetBSD: patch-ag,v 1.1 2008/12/17 08:19:53 taca Exp $ + +This is fix for bison 2.4 and later. + +--- src/actioncompiler/swf5compiler.y.orig 2006-02-09 07:48:38.000000000 +0900 ++++ src/actioncompiler/swf5compiler.y +@@ -1795,7 +1795,7 @@ opcode_list + + with + : WITH +- { $$ = bufferWriteOp(asmBuffer, ++ { $<len>$ = bufferWriteOp(asmBuffer, + SWFACTION_WITH); } + opcode_list END { $$ = $<len>2 + $3; + bufferPatchLength(asmBuffer, $3); } +@@ -1828,9 +1828,9 @@ push_list + ; + + opcode +- : PUSH { $$ = bufferWriteOp(asmBuffer, ++ : PUSH { $<len>$ = bufferWriteOp(asmBuffer, + SWFACTION_PUSH); +- $$ += bufferWriteS16(asmBuffer, 0); } ++ $<len>$ += bufferWriteS16(asmBuffer, 0); } + push_list { $$ = $<len>2 + $3; + bufferPatchLength(asmBuffer, $3); } + |