diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-05-16 06:41:10 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2013-05-16 06:41:10 +0000 |
commit | abf4218a11f3f460d27b53988500ff6e2df9ab17 (patch) | |
tree | 436407f2509d24307a1a253f6b3a3bac6ba617f5 /dev-lang | |
parent | new @OSI-APPROVED license: Watcom-1.0 (bug #469990) (diff) | |
download | historical-abf4218a11f3f460d27b53988500ff6e2df9ab17.tar.gz historical-abf4218a11f3f460d27b53988500ff6e2df9ab17.tar.bz2 historical-abf4218a11f3f460d27b53988500ff6e2df9ab17.zip |
Initial import. MASM-compatible TASM-similar assembler (Wasm fork). Bug #431706 by Anton Kochkov and others.
Package-Manager: portage-2.2.0_alpha173_p24/cvs/Linux x86_64
Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/jwasm/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/jwasm/Manifest | 15 | ||||
-rw-r--r-- | dev-lang/jwasm/files/jwasm-2.10-gcc-4.8-fwdecl.patch | 41 | ||||
-rw-r--r-- | dev-lang/jwasm/jwasm-2.10.ebuild | 40 | ||||
-rw-r--r-- | dev-lang/jwasm/metadata.xml | 9 |
5 files changed, 115 insertions, 0 deletions
diff --git a/dev-lang/jwasm/ChangeLog b/dev-lang/jwasm/ChangeLog new file mode 100644 index 000000000000..77087d3e3589 --- /dev/null +++ b/dev-lang/jwasm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/jwasm +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/jwasm/ChangeLog,v 1.1 2013/05/16 06:40:56 slyfox Exp $ + +*jwasm-2.10 (16 May 2013) + + 16 May 2013; Sergei Trofimovich <slyfox@gentoo.org> + +files/jwasm-2.10-gcc-4.8-fwdecl.patch, +jwasm-2.10.ebuild, +metadata.xml: + Initial import. MASM-compatible TASM-similar assembler (Wasm fork). Bug + #431706 by Anton Kochkov and others. diff --git a/dev-lang/jwasm/Manifest b/dev-lang/jwasm/Manifest new file mode 100644 index 000000000000..65f389e045d5 --- /dev/null +++ b/dev-lang/jwasm/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX jwasm-2.10-gcc-4.8-fwdecl.patch 1728 SHA256 c2c8f0a5dc05b48a05b86210a427e7045a03b1e8b8d3efe89657bf39873f87a2 SHA512 775d4dee1bf4dc7d2b2b349e0aee5e8a46786c95d4b833cb3e8e3dfed5eacbf82b33a36f88b8d3bd1062a727b3dd6a9ccc0ba4e304030cd258531716e94cbc6c WHIRLPOOL 4aae571d7019393ddd8d918f2b5dc5ab4d9eb11cf5c4b9024dcdc915ec7938b9a81b83861fa697b583ef95cb754df3e0745ef5b7dd9ea4008e715f277e16186c +DIST JWasm210s.zip 939008 SHA256 8d9a5ac95fa07a8e935423f3d1e44127c79d873e380f04d1ce8e1a65ca7daafd SHA512 fed6a02e9c58d8c8e4ad83cfd93207c99dc2cc73626188abc2f376465f72dea5ad2ac747b2832cfd8053220b76fdfd58b89d9e484f380c2eb0af2b541f24ca7e WHIRLPOOL 703f860303008cfadd6b42e36aee92e32d5b19af6f70040b083408e43ab5b7bbf83539c5ee96202c6a613ba8640ce2c8e18c465b853e1ac1727e03f30b2b10e8 +EBUILD jwasm-2.10.ebuild 898 SHA256 b6d92ed3c7e583272fbeadaec5afb82ac418e36434a92ad51953f244c41c93a6 SHA512 a1b337ffce3628e125d30e9450a90fa2f47ad84dd044077083f8e7dcc60e0d8c1132f4f616c78e17afe6fbcabf00d8caca1f409a8e340e8bf164b225dee4e0ff WHIRLPOOL 3d12beac41812c916954f2979c5a27e5c7e392061683b46daddd517839915f016537f5f21dafc840f8d97402b3508936d7a3b56b9b517fdbb38f682004b80e1b +MISC ChangeLog 474 SHA256 605d24c79e0c62b24a3247732b2f3d58fc8bb81d856f4793bb2cb781764d751b SHA512 d47b0aac42144163050936c39c03a7e148783672f9677cb53b33340436398ada8f2d19992220120c12ab8aa5a7c41de0fa03f7d463d006ead2be97fc99a38944 WHIRLPOOL 083b615cd3341ee49d25dd3bfe85008a2f49f3e1e24493c91949c2545e358d55027d16fdd2d7e793da3ba00e484da2e2773a451e13f7b60718630361344a0319 +MISC metadata.xml 285 SHA256 5b7e5a7dd46327e901035dee668f098d4809e91234fd75f6d1cf2c3db7178d16 SHA512 c83f84d36f446da066e0205c938218bf775caa2b7bca33047137f0e87a10aa89731d6875d3849b3162979101ddb2e4ef6923d37521d63ccb560418221135d94c WHIRLPOOL 8d7d2e85da6081b04918ac0010a12c93ba5f524dd6f7995dd437026fbd952d6d95aded099c1eec14321bfa70ca4f748d717f2ce9ad12fcb0b66ea37b7e4f25cf +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlGUfzsACgkQcaHudmEf86qiKACeMVVQjIvLDosijwL9i4ymOxzT +CxoAn0tL7Igl5SV47XVzjyq58UzEcbuz +=EmSU +-----END PGP SIGNATURE----- diff --git a/dev-lang/jwasm/files/jwasm-2.10-gcc-4.8-fwdecl.patch b/dev-lang/jwasm/files/jwasm-2.10-gcc-4.8-fwdecl.patch new file mode 100644 index 000000000000..88bbcb94723c --- /dev/null +++ b/dev-lang/jwasm/files/jwasm-2.10-gcc-4.8-fwdecl.patch @@ -0,0 +1,41 @@ +From c2b789403a1ca833bcabada5347bb18d7bd095c2 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Wed, 15 May 2013 22:04:01 +0300 +Subject: [PATCH] fix build failure on gcc-4.8 (missing forward declaration) + +Fixes the following build error: +> gcc -c -IH -D__UNIX__ -DNDEBUG -O2 -o GccUnixR/parser.o parser.c +> In file included from parser.c:35:0: +> H/parser.h:305:48: warning: 'struct expr' declared inside parameter list [enabled by default] +> extern void EmitConstError( const struct expr * ); +> ^ +> H/parser.h:305:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] +> parser.c:790:6: error: conflicting types for 'EmitConstError' +> void EmitConstError( const struct expr *opnd ) +> ^ +> In file included from parser.c:35:0: +> H/parser.h:305:19: note: previous declaration of 'EmitConstError' was here +> extern void EmitConstError( const struct expr * ); +> ^ +> make: *** [GccUnixR/parser.o] Error 1 + +Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> +--- + H/parser.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/H/parser.h b/H/parser.h +index 1744f0d..c2c7b99 100644 +--- a/H/parser.h ++++ b/H/parser.h +@@ -302,6 +302,7 @@ extern int SizeFromMemtype( enum memtype, int, struct asym * ); + extern ret_code MemtypeFromSize( int, enum memtype * );
+ extern int SizeFromRegister( int );
+ extern ret_code GetLangType( int *, struct asm_tok[], enum lang_type * );
++struct expr;
+ extern void EmitConstError( const struct expr * );
+
+ extern void sym_add_table( struct symbol_queue *, struct dsym * );
+-- +1.8.2.1 + diff --git a/dev-lang/jwasm/jwasm-2.10.ebuild b/dev-lang/jwasm/jwasm-2.10.ebuild new file mode 100644 index 000000000000..a51dc7f350e3 --- /dev/null +++ b/dev-lang/jwasm/jwasm-2.10.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/jwasm/jwasm-2.10.ebuild,v 1.1 2013/05/16 06:40:56 slyfox Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs versionator + +# 2.10 -> 210s +MY_PN=JWasm +MY_PV="$(delete_version_separator 1)s" +MY_P="${MY_PN}${MY_PV}" + +DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)" +HOMEPAGE="http://www.japheth.de/JWasm.html" +SRC_URI="http://www.japheth.de/Download/${MY_PN}/${MY_P}.zip" +LICENSE="Watcom-1.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +DEPEND="" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc-4.8-fwdecl.patch + # don't strip binary + sed -i GccUnix.mak -e 's/ -s //g' || die +} + +src_compile() { + emake -f GccUnix.mak CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin GccUnixR/jwasm + dodoc *.txt Doc/*.txt +} diff --git a/dev-lang/jwasm/metadata.xml b/dev-lang/jwasm/metadata.xml new file mode 100644 index 000000000000..9406077f08b4 --- /dev/null +++ b/dev-lang/jwasm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + <description>Primary Maintainer</description> + </maintainer> +</pkgmetadata> |