diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-11 05:33:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-11 05:33:57 +0000 |
commit | 9be98bbeaa3bc9f51c0dd119c07092af634fdda9 (patch) | |
tree | c497695d076527d7ba5e1221e30d22504f59e0af /dev-lang | |
parent | old (diff) | |
download | historical-9be98bbeaa3bc9f51c0dd119c07092af634fdda9.tar.gz historical-9be98bbeaa3bc9f51c0dd119c07092af634fdda9.tar.bz2 historical-9be98bbeaa3bc9f51c0dd119c07092af634fdda9.zip |
old
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/nasm/Manifest | 15 | ||||
-rw-r--r-- | dev-lang/nasm/files/nasm-0.98.39-elf-visibility.patch | 107 | ||||
-rw-r--r-- | dev-lang/nasm/nasm-0.98.39-r3.ebuild | 59 | ||||
-rw-r--r-- | dev-lang/nasm/nasm-2.03.01.ebuild | 53 |
4 files changed, 0 insertions, 234 deletions
diff --git a/dev-lang/nasm/Manifest b/dev-lang/nasm/Manifest index a4f898af9656..c02fa4ab0b0b 100644 --- a/dev-lang/nasm/Manifest +++ b/dev-lang/nasm/Manifest @@ -1,21 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX nasm-0.98.39-elf-visibility.patch 4219 RMD160 1d43d437a4fab9d4fa69b3d52ed20bb238431121 SHA1 917d016fe5c2deb4237cade04d0e926f52bc7ff7 SHA256 fa71468b6ac380712e659c9a78bc552339e268f2907ed143500b148db81d16c8 -DIST nasm-0.98.39.tar.bz2 543976 RMD160 b5587b1b81f58cef3a50e438e8efb365945df587 SHA1 73d64812bb95774355f737c0fb0271382d23db67 SHA256 7865f74acac6b7dccb58eda9164a86da40968eea8aa650926594e0083eaaed77 -DIST nasm-2.03.01.tar.bz2 767490 RMD160 45af4c74f0f0dc446db57155cf71ed14cca7412c SHA1 45590099abaf8e46f43c430c51ec29174e33c818 SHA256 cd4a746335af144f95112e8f232413f3f5a03a77639cc79e876d8e75e1b9365a DIST nasm-2.04.tar.gz 971522 RMD160 988aee00f96b2e5d1fa6e04ae58d1b16f78a03de SHA1 dd6a5aa5a12cbe9e4bff305d1547aa4059ce0dbd SHA256 351f05a7cdd3e335f0eb294bab5d8fe7a258a05aa85da50274c6c41f9b193072 DIST nasm-2.05.01.tar.gz 977366 RMD160 03909f158e0163a7e5f8f806c4616e8986eaca95 SHA1 4c68384e700a369934333d25d220e3248f40423d SHA256 f2ca9640a5dc0df66875c6970d40da7a82350b2a01a3981b0e7ac4ba973645ec -EBUILD nasm-0.98.39-r3.ebuild 1393 RMD160 2a9df10928fc7d770fbd6a0ce3811dd188f2abef SHA1 fd64c2a1a4d2051bc4e3888c21cc47add1836e7d SHA256 7b3e90e3b07ae6df977165f23fe1c83ece56ef136b2ea920b70baf0dfa2edad9 -EBUILD nasm-2.03.01.ebuild 1191 RMD160 ee0408ac7ec0de4ae00d66ef746825293f970296 SHA1 49075387212aacf500f0feeb05c21322f8b702f7 SHA256 01e72fd4bbc81f25db5246891fd7fc449e072e664501572cf6f818715f5f7b9d EBUILD nasm-2.04.ebuild 1185 RMD160 8a39b3f32e5913d677eee20038f7a860edb12bdd SHA1 d616db8a7f9be17b0c783309373822f839b6ca1f SHA256 0af4fd29e0b654332fd77ba2066577639e0de0828c7c3e7c1aefc912c2bd8315 EBUILD nasm-2.05.01.ebuild 1024 RMD160 d11fd8acaf516dcaaedcd9bd5498226a139fa24a SHA1 9c7e6cc836e3a720fe7473680180cb8ca277d2cd SHA256 64d196a631c5b8062025aa12d1b478432355bc543432767fcc9ed909dd2d84ab MISC ChangeLog 7522 RMD160 1fcc2059f6ecd5f24930a023affa249fec0b5229 SHA1 9f95b401424e105ad3d40e35b8f0bf7f94bbcd69 SHA256 3d1b15013ca02a2d0019e5cb80e696186ab9b4263055f6f8bc0e18a74bc20132 MISC metadata.xml 738 RMD160 76ed8d8e8a74def53099b5457752e7c3138425a9 SHA1 a0a8af5c5da7817c136c004c8d1b10fe211d158a SHA256 2da3d51e900fdccea5c364911ff56e568c6c5294d04eb633cf05e664b055dc69 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkk7ZiYACgkQ67wieSYcaxc1fQCdHfDn2MWQZwLWI8+2Zx58F2vD -p5kAoN8Mfz+0tbFEHr2Iy2/BXGwanE/i -=dIeJ ------END PGP SIGNATURE----- diff --git a/dev-lang/nasm/files/nasm-0.98.39-elf-visibility.patch b/dev-lang/nasm/files/nasm-0.98.39-elf-visibility.patch deleted file mode 100644 index d4f1948b5d06..000000000000 --- a/dev-lang/nasm/files/nasm-0.98.39-elf-visibility.patch +++ /dev/null @@ -1,107 +0,0 @@ -Add support for declaring elf visibility attributes. Used to -help cleanup TEXTRELs in misc libraries (like libsdl). - -Syntax to declare function foo hidden: -GLOBAL foo:function hidden - -Patch by Mike Frysinger <vapier@gentoo.org> - -http://sourceforge.net/mailarchive/forum.php?thread_id=9230919&forum_id=4978 - ---- nasm/output/outelf.c -+++ nasm/output/outelf.c -@@ -50,6 +50,7 @@ struct Symbol { - long strpos; /* string table position of name */ - long section; /* section ID of the symbol */ - int type; /* symbol type */ -+ int other; /* symbol visibility */ - long value; /* address, or COMMON variable align */ - long size; /* size of symbol */ - long globnum; /* symbol table offset if global */ -@@ -113,9 +114,15 @@ extern struct ofmt of_elf; - - #define SYM_SECTION 0x04 - #define SYM_GLOBAL 0x10 -+#define SYM_NOTYPE 0x00 - #define SYM_DATA 0x01 - #define SYM_FUNCTION 0x02 - -+#define STV_DEFAULT 0 -+#define STV_INTERNAL 1 -+#define STV_HIDDEN 2 -+#define STV_PROTECTED 3 -+ - #define GLOBAL_TEMP_BASE 16 /* bigger than any constant sym id */ - - #define SEG_ALIGN 16 /* alignment of sections in file */ -@@ -493,6 +500,7 @@ static void elf_deflabel(char *name, lon - - sym->strpos = pos; - sym->type = is_global ? SYM_GLOBAL : 0; -+ sym->other = STV_DEFAULT; - sym->size = 0; - if (segment == NO_SEG) - sym->section = SHN_ABS; -@@ -570,18 +578,39 @@ static void elf_deflabel(char *name, lon - sym->next = sects[sym->section - 1]->gsyms; - sects[sym->section - 1]->gsyms = sym; - -+ /* ELF syntax: GLOBAL name[:type [visibility]] */ - if (special) { -- int n = strcspn(special, " "); -- -+ int n = strcspn(special, " \t"); - if (!nasm_strnicmp(special, "function", n)) - sym->type |= SYM_FUNCTION; - else if (!nasm_strnicmp(special, "data", n) || - !nasm_strnicmp(special, "object", n)) - sym->type |= SYM_DATA; -+ else if (!nasm_strnicmp(special, "notype", n)) -+ sym->type |= SYM_NOTYPE; - else - error(ERR_NONFATAL, "unrecognised symbol type `%.*s'", - n, special); -+ special += n; -+ -+ while (isspace(*special)) -+ ++special; -+ if (*special) { -+ n = strcspn(special, " \t"); -+ if (!nasm_strnicmp(special, "default", n)) -+ sym->other = STV_DEFAULT; -+ else if (!nasm_strnicmp(special, "internal", n)) -+ sym->other = STV_INTERNAL; -+ else if (!nasm_strnicmp(special, "hidden", n)) -+ sym->other = STV_HIDDEN; -+ else if (!nasm_strnicmp(special, "protected", n)) -+ sym->other = STV_PROTECTED; -+ else -+ n = 0; -+ special += n; -+ } -+ -- if (special[n]) { -+ if (*special) { - struct tokenval tokval; - expr *e; - int fwd = FALSE; -@@ -1120,7 +1149,8 @@ static struct SAA *elf_build_symtab(long - WRITELONG(p, sym->strpos); - WRITELONG(p, sym->value); - WRITELONG(p, sym->size); -- WRITESHORT(p, sym->type); /* local non-typed thing */ -+ WRITECHAR(p, sym->type); /* local non-typed thing */ -+ WRITECHAR(p, sym->other); - WRITESHORT(p, sym->section); - saa_wbytes(s, entry, 16L); - *len += 16; -@@ -1138,7 +1168,8 @@ static struct SAA *elf_build_symtab(long - WRITELONG(p, sym->strpos); - WRITELONG(p, sym->value); - WRITELONG(p, sym->size); -- WRITESHORT(p, sym->type); /* global non-typed thing */ -+ WRITECHAR(p, sym->type); /* global non-typed thing */ -+ WRITECHAR(p, sym->other); - WRITESHORT(p, sym->section); - saa_wbytes(s, entry, 16L); - *len += 16; diff --git a/dev-lang/nasm/nasm-0.98.39-r3.ebuild b/dev-lang/nasm/nasm-0.98.39-r3.ebuild deleted file mode 100644 index 7d14690d346d..000000000000 --- a/dev-lang/nasm/nasm-0.98.39-r3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.39-r3.ebuild,v 1.6 2008/12/07 05:58:55 vapier Exp $ - -inherit eutils toolchain-funcs flag-o-matic - -DESCRIPTION="groovy little assembler" -HOMEPAGE="http://nasm.sourceforge.net/" -SRC_URI="mirror://sourceforge/nasm/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="-* amd64 x86 ~x86-fbsd" -IUSE="doc" - -DEPEND="dev-lang/perl - doc? ( virtual/ghostscript sys-apps/texinfo )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-elf-visibility.patch - if [ "$(gcc-major-version)" -eq "2" ] ; then - sed -i \ - -e 's:-std=c99::g' \ - configure \ - || die "sed failed" - fi - #security fix for bug #92991 - sed -i \ - -e '/vsprintf/c\ vsnprintf(buffer, sizeof(buffer), format, ap); - ' output/outieee.c \ - || die "sed failed" -} - -src_compile() { - strip-flags - econf || die - - emake all || die "emake failed" - emake rdf || die "emake failed" - if use doc ; then - emake doc || die "emake failed" - fi -} - -src_install() { - dobin nasm ndisasm rdoff/{ldrdf,rdf2bin,rdf2ihx,rdfdump,rdflib,rdx} \ - || die "dobin failed" - dosym /usr/bin/rdf2bin /usr/bin/rdf2com - doman nasm.1 ndisasm.1 - dodoc AUTHORS CHANGES ChangeLog README TODO - if use doc ; then - doinfo doc/info/* - dohtml doc/html/* - dodoc doc/nasmdoc.* - fi -} diff --git a/dev-lang/nasm/nasm-2.03.01.ebuild b/dev-lang/nasm/nasm-2.03.01.ebuild deleted file mode 100644 index 24adbf93bc70..000000000000 --- a/dev-lang/nasm/nasm-2.03.01.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.03.01.ebuild,v 1.2 2008/12/07 05:58:55 vapier Exp $ - -inherit eutils toolchain-funcs flag-o-matic - -DESCRIPTION="groovy little assembler" -HOMEPAGE="http://nasm.sourceforge.net/" -SRC_URI="mirror://sourceforge/nasm/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" -IUSE="doc" - -DEPEND="dev-lang/perl - doc? ( virtual/ghostscript sys-apps/texinfo )" -RDEPEND="" - -src_unpack() { - unpack ${A} - if [ "$(gcc-major-version)" -eq "2" ] ; then - cd "${S}" - sed -i \ - -e 's:-std=c99::g' \ - configure \ - || die "sed failed" - fi -} - -src_compile() { - strip-flags - econf || die - - emake all || die "emake failed" - emake rdf || die "emake failed" - if use doc ; then - emake doc || die "emake failed" - fi -} - -src_install() { - dobin nasm ndisasm rdoff/{ldrdf,rdf2bin,rdf2ihx,rdfdump,rdflib,rdx} \ - || die "dobin failed" - dosym /usr/bin/rdf2bin /usr/bin/rdf2com - doman nasm.1 ndisasm.1 - dodoc AUTHORS CHANGES ChangeLog README TODO - if use doc ; then - doinfo doc/info/* - dohtml doc/html/* - dodoc doc/nasmdoc.* - fi -} |