pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ming Fix build problem with bison 2.4 and l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6cad1757fa1
branches:  trunk
changeset: 551528:b6cad1757fa1
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Dec 17 08:19:52 2008 +0000

description:
Fix build problem with bison 2.4 and later.

diffstat:

 multimedia/ming/distinfo         |   3 ++-
 multimedia/ming/patches/patch-ag |  27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 8598d2995596 -r b6cad1757fa1 multimedia/ming/distinfo
--- a/multimedia/ming/distinfo  Wed Dec 17 05:49:46 2008 +0000
+++ b/multimedia/ming/distinfo  Wed Dec 17 08:19:52 2008 +0000
@@ -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-ad) = a5297b1f432e07acc0ef4da554a43f38f75edcf2
 SHA1 (patch-ae) = ed8995b97a40f8f25c02b479bcc96f0e659e95df
 SHA1 (patch-af) = bcde050efd4cea85b955486c6052fdde69e1c2e7
+SHA1 (patch-ag) = e7feec74cf44571da2aff4d058253c87e9595575
diff -r 8598d2995596 -r b6cad1757fa1 multimedia/ming/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/ming/patches/patch-ag  Wed Dec 17 08:19:52 2008 +0000
@@ -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); }
+ 



Home | Main Index | Thread Index | Old Index