From 98d9c753b3a24aed875f4b3428dec7e7c801109f Mon Sep 17 00:00:00 2001 From: Olivier CrĂȘte Date: Mon, 9 May 2005 02:04:05 +0000 Subject: Added patch to make it build on amd64 Package-Manager: portage-2.0.51.19 --- sys-devel/bin86/ChangeLog | 6 +++++- sys-devel/bin86/Manifest | 19 +++++++++++++++---- sys-devel/bin86/bin86-0.16.17.ebuild | 9 ++++++--- sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch | 13 +++++++++++++ 4 files changed, 39 insertions(+), 8 deletions(-) create mode 100644 sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch (limited to 'sys-devel') diff --git a/sys-devel/bin86/ChangeLog b/sys-devel/bin86/ChangeLog index 0022ef0259bb..2b949ef0556e 100644 --- a/sys-devel/bin86/ChangeLog +++ b/sys-devel/bin86/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/bin86 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/ChangeLog,v 1.14 2005/01/31 03:01:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/ChangeLog,v 1.15 2005/05/09 02:04:05 tester Exp $ + + 09 May 2005; Olivier CrĂȘte + +files/bin86-0.16.17-amd64-build.patch, bin86-0.16.17.ebuild: + Added patch to make it build on amd64 *bin86-0.16.17 (30 Jan 2005) diff --git a/sys-devel/bin86/Manifest b/sys-devel/bin86/Manifest index e3f478bfca43..24767def7139 100644 --- a/sys-devel/bin86/Manifest +++ b/sys-devel/bin86/Manifest @@ -1,8 +1,19 @@ -MD5 8ab04db2d5aa8869ac5101a9e5f6db92 ChangeLog 2218 -MD5 d6b8cf3783abb5974e5ed7809f3b285c bin86-0.16.0.ebuild 724 -MD5 80de68e86e15643031d153f59e0bb1d0 bin86-0.16.17.ebuild 886 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 1829f973a2d448647261c6e196aa2871 bin86-0.16.16.ebuild 890 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 bda0ffdd178c330eb3bb8e6d40ef3816 ChangeLog 2373 +MD5 d6b8cf3783abb5974e5ed7809f3b285c bin86-0.16.0.ebuild 724 +MD5 a273486444f92a35845813b92789b6eb bin86-0.16.17.ebuild 1019 MD5 9737e2b2121543298c07b50ccd22abbc files/digest-bin86-0.16.16 65 -MD5 29c73c3800c42a8ea661a62f5c489a30 files/digest-bin86-0.16.17 65 MD5 7d22d60b602b4280bac1e01f3d92a31a files/digest-bin86-0.16.0 65 +MD5 29c73c3800c42a8ea661a62f5c489a30 files/digest-bin86-0.16.17 65 +MD5 4f8a1fb4b57659469489673ed352e45c files/bin86-0.16.17-amd64-build.patch 314 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCfsUimOfEJZHYOKcRApOiAKDfktxt3/gRhR791EPkK2DC6RllIwCg6Zuf +gt7UgzBpT9CxTbsZVrU162c= +=HH40 +-----END PGP SIGNATURE----- diff --git a/sys-devel/bin86/bin86-0.16.17.ebuild b/sys-devel/bin86/bin86-0.16.17.ebuild index 1ba54022b595..7cd373c25692 100644 --- a/sys-devel/bin86/bin86-0.16.17.ebuild +++ b/sys-devel/bin86/bin86-0.16.17.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild,v 1.2 2005/04/15 05:01:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bin86/bin86-0.16.17.ebuild,v 1.3 2005/05/09 02:04:05 tester Exp $ -inherit toolchain-funcs +inherit toolchain-funcs eutils DESCRIPTION="Assembler and loader used to create kernel bootsector" HOMEPAGE="http://www.cix.co.uk/~mayday/" @@ -10,7 +10,7 @@ SRC_URI="http://www.cix.co.uk/~mayday/dev86/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="-* x86" +KEYWORDS="-* x86 ~amd64" IUSE="" RDEPEND="" @@ -22,6 +22,9 @@ src_unpack() { -e 's:/man/man1:/share/man/man1:' \ -e '/^INSTALL_OPTS/s:-s::' \ Makefile || die "sed" + + # This should make it built on other archictectures as well + use amd64 && epatch ${FILESDIR}/${P}-amd64-build.patch } src_compile() { diff --git a/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch b/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch new file mode 100644 index 000000000000..b9397261686f --- /dev/null +++ b/sys-devel/bin86/files/bin86-0.16.17-amd64-build.patch @@ -0,0 +1,13 @@ +--- ld/x86_aout.h.orig 2003-01-28 17:17:14.000000000 -0500 ++++ ld/x86_aout.h 2005-05-07 22:40:05.000000000 -0400 +@@ -13,7 +13,9 @@ + typedef long Long; + #define __OUT_OK 1 + #else +-typedef char Long[4]; ++#define __OUT_OK 1 ++#include ++typedef int32_t Long; + #endif + + struct exec { /* a.out header */ -- cgit v1.2.3-65-gdbad