diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-25 21:01:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-10-25 21:01:10 +0000 |
commit | 2b402f0d73fbd3acd1c0e556cb1d5437c86ea702 (patch) | |
tree | 616d3b4b46e086fcdf3dd9181df5f937ed120cbe /dev-util/dissembler | |
parent | Keyworded ~ppc64. Closes bug #238010 (diff) | |
download | historical-2b402f0d73fbd3acd1c0e556cb1d5437c86ea702.tar.gz historical-2b402f0d73fbd3acd1c0e556cb1d5437c86ea702.tar.bz2 historical-2b402f0d73fbd3acd1c0e556cb1d5437c86ea702.zip |
Cleanup source and respect user settings #243996.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'dev-util/dissembler')
-rw-r--r-- | dev-util/dissembler/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/dissembler/Manifest | 15 | ||||
-rw-r--r-- | dev-util/dissembler/dissembler-0.9.ebuild | 16 | ||||
-rw-r--r-- | dev-util/dissembler/files/dissembler-0.9-build.patch | 21 |
4 files changed, 52 insertions, 8 deletions
diff --git a/dev-util/dissembler/ChangeLog b/dev-util/dissembler/ChangeLog index aaf924af9c17..156e56178997 100644 --- a/dev-util/dissembler/ChangeLog +++ b/dev-util/dissembler/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/dissembler -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/ChangeLog,v 1.3 2007/02/09 03:06:39 flameeyes Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/ChangeLog,v 1.4 2008/10/25 21:01:10 vapier Exp $ + + 25 Oct 2008; Mike Frysinger <vapier@gentoo.org> + +files/dissembler-0.9-build.patch, dissembler-0.9.ebuild: + Cleanup source and respect user settings #243996. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/dev-util/dissembler/Manifest b/dev-util/dissembler/Manifest index 15e4e9065a35..18169e774a4d 100644 --- a/dev-util/dissembler/Manifest +++ b/dev-util/dissembler/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX dissembler-0.9-build.patch 388 RMD160 2cc850585910a2db1573059e164d5f99c3c6119e SHA1 b1b6dc83306ab6d03fdbff5df7e882a9465c3a17 SHA256 a5acf8689b45d26a3b7dfd5192d13f43c7c35d529d5f8cb9462cb5d584a7d6f9 DIST dissembler_0.9.tgz 4479 RMD160 3a43f91672b462cbe4ea5945f7edb946ccf3b687 SHA1 342face7ddaa52dfd75052c00678eca88d5602e4 SHA256 fb2a38fe28ea6586bcead0acf918963f051c940af3ab35995ab9e27c6c2e198a -EBUILD dissembler-0.9.ebuild 602 RMD160 38aab41db06cd3eb2bd63103e0907ecaa4e92b52 SHA1 324417bfac84642f2ace52f924f8f3c96baa032a SHA256 27b34a60f54cacfb0fe94dd434addf6b4264edde054b0dfbffd8a259ca824660 -MISC ChangeLog 532 RMD160 d3aea1bfc64d2d476071989589080bea9fd4a5cf SHA1 5838b5c3d5a1b5492f7e5e1398754acc5b47b613 SHA256 8c6441aed34d849094f0f02d628777ffd607f1c8a153d8d1359f802d19f1d483 +EBUILD dissembler-0.9.ebuild 734 RMD160 34e0a649217c723b2275c0e64e31a54a23eec32c SHA1 d98093df1584e183b51f414ed677b9b82dd491b8 SHA256 5b619989d14adebab2c17f7aafcd41a0844eeb7a5122bf888e6594e7c7a1326f +MISC ChangeLog 692 RMD160 732ca17da29fef0cb0fb16e499549e2d5b7d285d SHA1 56d041cc1172ee1a81afee50c63098c15a8554ef SHA256 30c5155d8c32841691189186d73be51a68b67b18307d4b22e703494af7e3a6c2 MISC metadata.xml 221 RMD160 2699c0059639536eb7befa077a27e437569a26ba SHA1 4bef3741184af2e2d984fec094cd0ab39ae2e624 SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkkDiRwACgkQ67wieSYcaxfhkACeJZgI/DCrd/rgbp6CZSFR0d8i +MWIAn0dyTUQOmGjCHQzrx79BIcjlMPKf +=Elz3 +-----END PGP SIGNATURE----- diff --git a/dev-util/dissembler/dissembler-0.9.ebuild b/dev-util/dissembler/dissembler-0.9.ebuild index c99f5e062ffb..1ee100888494 100644 --- a/dev-util/dissembler/dissembler-0.9.ebuild +++ b/dev-util/dissembler/dissembler-0.9.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/dissembler-0.9.ebuild,v 1.2 2005/05/07 11:01:14 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dissembler/dissembler-0.9.ebuild,v 1.3 2008/10/25 21:01:10 vapier Exp $ + +inherit eutils toolchain-funcs MY_P=${PN}_${PV} DESCRIPTION="polymorphs bytecode to a printable ASCII string" @@ -9,15 +11,21 @@ SRC_URI="http://www.phiral.com/research/${MY_P}.tgz" LICENSE="as-is" SLOT="0" -KEYWORDS="~amd64 ~x86 ~ppc" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="" S=${WORKDIR}/${MY_P} +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + src_compile() { - make ${PN} || die + emake CC="$(tc-getCC)" ${PN} || die } src_install() { diff --git a/dev-util/dissembler/files/dissembler-0.9-build.patch b/dev-util/dissembler/files/dissembler-0.9-build.patch new file mode 100644 index 000000000000..019dfec20ad6 --- /dev/null +++ b/dev-util/dissembler/files/dissembler-0.9-build.patch @@ -0,0 +1,21 @@ +--- dissembler.c ++++ dissembler.c +@@ -16,6 +16,9 @@ + + /* FOR EDUCATIONAL PURPOSES ONLY */ + ++#define _GNU_SOURCE ++#include <string.h> ++#include <unistd.h> + #include <stdio.h> + #include <sys/stat.h> + #include <ctype.h> +@@ -217,7 +217,7 @@ freedom: + fprintf(fh, "P"); + } + fprintf(fh,"\n"); +- if(fh != stdout) close(fh); ++ if(fh != stdout) fclose(fh); + free(mem-21); + } + |