summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-02-16 12:05:40 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-02-16 12:05:40 +0000
commit7f7806439f2a62488bc60d41c22eae3712fd9e8b (patch)
tree09dee89a78639e20d55be4260944572d61de5b9e /app-misc/flasm
parentSparc stable, Bug #254201, all tests pass. (diff)
downloadhistorical-7f7806439f2a62488bc60d41c22eae3712fd9e8b.tar.gz
historical-7f7806439f2a62488bc60d41c22eae3712fd9e8b.tar.bz2
historical-7f7806439f2a62488bc60d41c22eae3712fd9e8b.zip
Add myself as maintainer
Thanks to RB for patch wrt bug #253457 Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'app-misc/flasm')
-rw-r--r--app-misc/flasm/ChangeLog8
-rw-r--r--app-misc/flasm/Manifest13
-rw-r--r--app-misc/flasm/files/flasm-1.6.2-bison-2.patch254
-rw-r--r--app-misc/flasm/flasm-1.6.2.ebuild5
-rw-r--r--app-misc/flasm/metadata.xml2
5 files changed, 271 insertions, 11 deletions
diff --git a/app-misc/flasm/ChangeLog b/app-misc/flasm/ChangeLog
index 894355fb215f..f07bfb1547ec 100644
--- a/app-misc/flasm/ChangeLog
+++ b/app-misc/flasm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/flasm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/ChangeLog,v 1.3 2008/08/16 17:10:23 tove Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/ChangeLog,v 1.4 2009/02/16 12:05:39 drizzt Exp $
+
+ 16 Feb 2009; Timothy Redaelli <drizzt@gentoo.org>
+ +files/flasm-1.6.2-bison-2.patch, metadata.xml, flasm-1.6.2.ebuild:
+ Add myself as maintainer Thanks to RB for patch wrt bug #253457
16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove pclouds from metadata.xml (#49680)
diff --git a/app-misc/flasm/Manifest b/app-misc/flasm/Manifest
index 45c8079dbf8e..5b6a4652674a 100644
--- a/app-misc/flasm/Manifest
+++ b/app-misc/flasm/Manifest
@@ -1,15 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX flasm-1.6.2-bison-2.patch 16828 RMD160 ac7f87892bfc255c453238075a79c39206e3ce4c SHA1 ae2314cf8d8f2502d075a30c07344e882dad9d4e SHA256 86c5fdb60d7195610a9be73cd968292cb51dd3211086c00b9d6c02168c3f2574
AUX flasm-1.6.2-makefile.patch 940 RMD160 78426b4742114f3461e639c4d300c77722c04994 SHA1 e05db6a8d6cde70a7e78a9dc7129d071108e731e SHA256 7e604e4dca11e42be74e9564d7b1e3d3861494553f45280d90ddd84ca38245c0
DIST flasm16src.zip 111920 RMD160 7076a6b1aa8312c7a2356e9ddf92501f3bdd0f6b SHA1 a85cc4db72561ada6429ead47f28618d08a89041 SHA256 d6d2b61a9f4c29f61a724c0c84b95e907c2af38f1346ae5799bd0dd9b5d9f3bf
-EBUILD flasm-1.6.2.ebuild 948 RMD160 14473aeb824e0944403e960998252cdf10fb8311 SHA1 e18a222cd4340fc39ae7e2d45debab190c767f1b SHA256 88775fd5c361043c17bf7bbb913845b3a646162410d63405893788f7ded64bfc
-MISC ChangeLog 746 RMD160 20be21efbcee39bc0c121d3763da40e9adf69b08 SHA1 c518849c957e3bbf8eb05cf8ee6c82fb135ce8ca SHA256 40b65c71e754d7e706db2a7141b130986ec4886f1503f0f36c619ecb1be63be0
-MISC metadata.xml 673 RMD160 6ed7451227aab4ad9575d258ee8f460213677a73 SHA1 b296ca6bc386493f5f695eabd9cd13b86aadb4ea SHA256 679faf4fe45e784e8b9eaa41d23c974fb0a9b88883ffcd337a6865a3c6885c42
+EBUILD flasm-1.6.2.ebuild 988 RMD160 67401bca7f8af6dcb08d6c907ae5449cafb6ddd4 SHA1 845a9ee1254c2a43bfc10450d96aa841def4b406 SHA256 e5ecc9663fba15bd4f612474dc4176a2340cfceb04655bb71b2ffe071896e95d
+MISC ChangeLog 937 RMD160 b7f42cc5d6d83f4afdff532f8cfa65e181993e34 SHA1 2567c09bbcd50866709b17ed8e1248c041d1958a SHA256 0d2db0c511171a76cd9f152a347b573a565f1350915d8ac40a6c16d9a168484f
+MISC metadata.xml 662 RMD160 6c905fa40e39518d49a0d916e20b8bfa2e9b4a95 SHA1 4459520287b5ecfd8dde4cf89c80cf927632cbd1 SHA256 8c145bc1cb87084e3b5a1ba18b14249fdab0305a7259e3ed3266efd57bb837dc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkinCfMACgkQV3J2n04EauyqgwCgl2NKnWxr32zMu4/RZY51uXWo
-Af4AoJ6BHXJiC47WVd44qkdiNNf5tiiB
-=KbMA
+iEYEARECAAYFAkmZVpoACgkQl4DfQEcjpw126ACfWUoiMRvKGoDSxzbO11LEz2H5
+5y8An1m4bkib8XTm9kAt707YsNjPO3bG
+=xsPz
-----END PGP SIGNATURE-----
diff --git a/app-misc/flasm/files/flasm-1.6.2-bison-2.patch b/app-misc/flasm/files/flasm-1.6.2-bison-2.patch
new file mode 100644
index 000000000000..65f7a30f02f1
--- /dev/null
+++ b/app-misc/flasm/files/flasm-1.6.2-bison-2.patch
@@ -0,0 +1,254 @@
+diff -up flasm-1.62/assembler.y.midrule flasm-1.62/assembler.y
+--- flasm-1.62/assembler.y.midrule 2008-12-20 22:44:50.000000000 +0100
++++ flasm-1.62/assembler.y 2008-12-20 22:54:03.000000000 +0100
+@@ -605,24 +605,24 @@ finally_opt
+
+ trycatchfinally
+ : TRY name_opt {
+- $$ = writeByte(SWFACTION_TRY);
++ $<num>$ = writeByte(SWFACTION_TRY);
+ /* action length */
+- $$ += writeShort(strlen($2)+8);
++ $<num>$ += writeShort(strlen($2)+8);
+ /* zero flag */
+- $$ += writeByte(0);
++ $<num>$ += writeByte(0);
+ /* zero try length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* zero catch length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* zero finally length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* error variable name */
+- $$ += writeString($2);
++ $<num>$ += writeString($2);
+ }
+
+- statements_opt { $$ = $<num>3 + $4; patchLength($$ - 6, $4); }
+- catch_opt { $$ = $<num>5 + $6; patchLength($$ - 8, $6); }
+- finally_opt { $$ = $<num>7 + $8; patchLength($$ - 10, $8); }
++ statements_opt { $<num>$ = $<num>3 + $4; patchLength($<num>$ - 6, $4); }
++ catch_opt { $<num>$ = $<num>5 + $6; patchLength($<num>$ - 8, $6); }
++ finally_opt { $<num>$ = $<num>7 + $8; patchLength($<num>$ - 10, $8); }
+ END {
+ byte flag = 0;
+ $$ = $<num>9;
+@@ -634,24 +634,24 @@ trycatchfinally
+ }
+
+ | TRY register {
+- $$ = writeByte(SWFACTION_TRY);
++ $<num>$ = writeByte(SWFACTION_TRY);
+ /* action length */
+- $$ += writeShort(8);
++ $<num>$ += writeShort(8);
+ /* zero flag */
+- $$ += writeByte(0);
++ $<num>$ += writeByte(0);
+ /* zero try length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* zero catch length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* zero finally length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* error register number */
+- $$ += writeByte((byte) $2);
++ $<num>$ += writeByte((byte) $2);
+ }
+
+- statements_opt { $$ = $<num>3 + $4; patchLength($$ - 6, $4); }
+- catch_opt { $$ = $<num>5 + $6; patchLength($$ - 8, $6); }
+- finally_opt { $$ = $<num>7 + $8; patchLength($$ - 10, $8); }
++ statements_opt { $<num>$ = $<num>3 + $4; patchLength($<num>$ - 6, $4); }
++ catch_opt { $<num>$ = $<num>5 + $6; patchLength($<num>$ - 8, $6); }
++ finally_opt { $<num>$ = $<num>7 + $8; patchLength($<num>$ - 10, $8); }
+ END {
+ byte flag = 4;
+ $$ = $<num>9;
+@@ -707,25 +707,25 @@ name_opt
+
+ function
+ : FUNCTION name_opt {
+- $$ = writeByte(SWFACTION_DEFINEFUNCTION);
++ $<num>$ = writeByte(SWFACTION_DEFINEFUNCTION);
+ /* zero block length */
+- $$ += writeShort(0);
+- $$ += writeString($2);
++ $<num>$ += writeShort(0);
++ $<num>$ += writeString($2);
+ }
+
+ '(' function_args ')' {
+ unsigned int i;
+ numArgs = $5;
+
+- $$ = $<num>3 + writeShort(numArgs);
++ $<num>$ = $<num>3 + writeShort(numArgs);
+
+ for(i = 0; i < numArgs; ++i)
+- $$ += writeString(func_args[i]);
++ $<num>$ += writeString(func_args[i]);
+
+ /* zero function length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* patch block length */
+- patchLength($$-3, $$-3);
++ patchLength($<num>$-3, $<num>$-3);
+ }
+
+ statements_opt END {
+@@ -837,25 +837,25 @@ autoregarglist
+
+ function2
+ : FUNCTION2 name_opt {
+- $$ = writeByte(SWFACTION_DEFINEFUNCTION2);
++ $<num>$ = writeByte(SWFACTION_DEFINEFUNCTION2);
+ /* zero block length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ /* function name */
+- $$ += writeString($2);
++ $<num>$ += writeString($2);
+ curFunc++;
+ memset(regfunc_args[curFunc], 0, sizeof (regfunc_args[curFunc]));
+ numArgs = 0;
+ /* zero num of function arguments */
+- $$ += writeShort(numArgs);
++ $<num>$ += writeShort(numArgs);
+ /* allocate zero registers */
+ numRegisters[curFunc] = 0;
+- $$ += writeByte(numRegisters[curFunc]);
++ $<num>$ += writeByte(numRegisters[curFunc]);
+ /* zero automatic register flags */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ }
+
+ '(' regarglist ')' {
+- $$ = $<num>3 + $5;
++ $<num>$ = $<num>3 + $5;
+ /* patch num of function arguments */
+ patchLength($5 + 3, numArgs);
+ autoregFlags = 0;
+@@ -866,9 +866,9 @@ function2
+ byte curautoreg = 1;
+ unsigned int i;
+
+- $$ = $<num>7;
++ $<num>$ = $<num>7;
+ /* zero body length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+
+ /* make sure auto registers are allocated in the right order */
+ for (i = 0; i < MAX_AUTO_REGS; i++) {
+@@ -883,9 +883,9 @@ function2
+ }
+
+ /* patch automatic register flags */
+- patchLength($$ - $<num>3, autoregFlags);
++ patchLength($<num>$ - $<num>3, autoregFlags);
+ /* patch block length */
+- patchLength($$ - 3, $$ - 3);
++ patchLength($<num>$ - 3, $<num>$ - 3);
+ }
+
+ statements_opt END {
+@@ -905,11 +905,11 @@ function2
+
+ with
+ : WITH {
+- $$ = writeByte(SWFACTION_WITH);
++ $<num>$ = writeByte(SWFACTION_WITH);
+ /* length of with action */
+- $$ += writeShort(2);
++ $<num>$ += writeShort(2);
+ /* length of with block - will be patched */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ }
+
+ statements_opt END {
+@@ -921,9 +921,9 @@ with
+
+ settarget
+ : SETTARGET STRING {
+- $$ = writeByte(SWFACTION_SETTARGET);
+- $$ += writeShort(strlen($2)+1);
+- $$ += writeString($2);
++ $<num>$ = writeByte(SWFACTION_SETTARGET);
++ $<num>$ += writeShort(strlen($2)+1);
++ $<num>$ += writeString($2);
+ }
+
+ statements_opt END {
+@@ -934,7 +934,7 @@ settarget
+ ;
+
+ settargetexpression
+- : SETTARGETEXPR { $$ = writeByte(SWFACTION_SETTARGETEXPRESSION); }
++ : SETTARGETEXPR { $<num>$ = writeByte(SWFACTION_SETTARGETEXPRESSION); }
+ statements_opt END {
+ $$ = $3 + writeByte(SWFACTION_SETTARGET);
+ $$ += $<num>2 + writeShort(1);
+@@ -946,9 +946,9 @@ ifframeloadedexpression
+ : IFFRAMELOADEDEXPR {
+ if (frameloadedStart>-1)
+ yyerror("IfFrameLoaded actions can't be nested");
+- $$ = writeByte(SWFACTION_IFFRAMELOADEDEXPRESSION);
+- $$ += writeShort(1);
+- $$ += writeByte(0);
++ $<num>$ = writeByte(SWFACTION_IFFRAMELOADEDEXPRESSION);
++ $<num>$ += writeShort(1);
++ $<num>$ += writeByte(0);
+ frameloadedStart = numActions;
+ }
+
+@@ -963,10 +963,10 @@ ifframeloaded
+ : IFFRAMELOADED INTEGER {
+ if (frameloadedStart>-1)
+ yyerror("IfFrameLoaded actions can't be nested");
+- $$ = writeByte(SWFACTION_IFFRAMELOADED);
+- $$ += writeShort(3);
+- $$ += writeShort($2);
+- $$ += writeByte(0);
++ $<num>$ = writeByte(SWFACTION_IFFRAMELOADED);
++ $<num>$ += writeShort(3);
++ $<num>$ += writeShort($2);
++ $<num>$ += writeByte(0);
+ frameloadedStart = numActions;
+ }
+
+@@ -1199,9 +1199,9 @@ opcode
+ constant_list_opt { $$ = writeConstants(); }
+
+ | PUSH {
+- $$ = writeByte(SWFACTION_PUSHDATA);
++ $<num>$ = writeByte(SWFACTION_PUSHDATA);
+ /* length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ }
+
+ push_list {
+@@ -1212,10 +1212,10 @@ opcode
+ | SWFACTION HEX {
+ if (xtoi($2)>0xff)
+ yyerror("Action code out of range");
+- $$ = writeByte((char)xtoi($2));
++ $<num>$ = writeByte((char)xtoi($2));
+ if (xtoi($2)>=0x80)
+ /* length */
+- $$ += writeShort(0);
++ $<num>$ += writeShort(0);
+ }
+
+ hexlist_opt {
+
diff --git a/app-misc/flasm/flasm-1.6.2.ebuild b/app-misc/flasm/flasm-1.6.2.ebuild
index c012bd668d2b..e5d6c8b7bf20 100644
--- a/app-misc/flasm/flasm-1.6.2.ebuild
+++ b/app-misc/flasm/flasm-1.6.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.6.2.ebuild,v 1.1 2007/09/03 09:42:17 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.6.2.ebuild,v 1.2 2009/02/16 12:05:39 drizzt Exp $
inherit eutils versionator toolchain-funcs
@@ -29,6 +29,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-bison-2.patch
}
src_compile() {
diff --git a/app-misc/flasm/metadata.xml b/app-misc/flasm/metadata.xml
index b9d243103c54..3cd6964eeef8 100644
--- a/app-misc/flasm/metadata.xml
+++ b/app-misc/flasm/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>drizzt@gentoo.org</email>
</maintainer>
<longdescription>Flasm disassembles your entire SWF including all the
timelines and events. Looking at disassembly, you learn how the Flash