From dc79ed2aa8b4fad0fa8bfe99efc43f7b6cf0dc3f Mon Sep 17 00:00:00 2001 From: taca Date: Wed, 17 Dec 2008 08:19:52 +0000 Subject: Fix build problem with bison 2.4 and later. --- multimedia/ming/distinfo | 3 ++- multimedia/ming/patches/patch-ag | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 multimedia/ming/patches/patch-ag (limited to 'multimedia') 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, ++ { $$ = bufferWriteOp(asmBuffer, + SWFACTION_WITH); } + opcode_list END { $$ = $2 + $3; + bufferPatchLength(asmBuffer, $3); } +@@ -1828,9 +1828,9 @@ push_list + ; + + opcode +- : PUSH { $$ = bufferWriteOp(asmBuffer, ++ : PUSH { $$ = bufferWriteOp(asmBuffer, + SWFACTION_PUSH); +- $$ += bufferWriteS16(asmBuffer, 0); } ++ $$ += bufferWriteS16(asmBuffer, 0); } + push_list { $$ = $2 + $3; + bufferPatchLength(asmBuffer, $3); } + -- cgit v1.2.3