diff options
-rw-r--r-- | multimedia/ming/distinfo | 3 | ||||
-rw-r--r-- | multimedia/ming/patches/patch-ag | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/multimedia/ming/distinfo b/multimedia/ming/distinfo index 4195ef02544..a250f946dda 100644 --- a/multimedia/ming/distinfo +++ b/multimedia/ming/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2008/04/03 08:42:25 joerg Exp $ +$NetBSD: distinfo,v 1.4 2008/12/17 08:19:52 taca Exp $ SHA1 (ming-0.3.0.tar.gz) = 3920de3070fa66b26fe53765298175789aacdb70 RMD160 (ming-0.3.0.tar.gz) = b41c93e28c221d9ae35666f34ca3ed37bbb0dfcb @@ -9,3 +9,4 @@ SHA1 (patch-ac) = 474d92e059e6b3145af2f51fa7598dc39d2b81bf SHA1 (patch-ad) = a5297b1f432e07acc0ef4da554a43f38f75edcf2 SHA1 (patch-ae) = ed8995b97a40f8f25c02b479bcc96f0e659e95df SHA1 (patch-af) = bcde050efd4cea85b955486c6052fdde69e1c2e7 +SHA1 (patch-ag) = e7feec74cf44571da2aff4d058253c87e9595575 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); } + |