diff --git a/sdk_container/src/third_party/portage-stable/dev-util/strace/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/strace/Manifest index 5482746302..c3cf1b4a3f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/strace/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/strace/Manifest @@ -1 +1,2 @@ +DIST strace-4.6-x32.patch.xz 142780 RMD160 99c8132cefdfd436a6bab15c251f50daa724341c SHA1 de3af88df7b753e2a84a628558344adc5b5d4c94 SHA256 78d196ea92d6d23a390ec8d00c7b4832f01204aa83b4ee52d1fadd32c993d72a DIST strace-4.6.tar.xz 403788 RMD160 da093a93da14639d1a20501e21c55be23ada495d SHA1 d84d6e215a65454aa5660e7b5c6200f6de39b89e SHA256 9ef9aa41b6118578e33ef4833b8a04209d6cc062546c28efd715f283b172c28a diff --git a/sdk_container/src/third_party/portage-stable/dev-util/strace/strace-4.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/strace/strace-4.6.ebuild index 170cd7a327..a7def1b6a7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/strace/strace-4.6.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/strace/strace-4.6.ebuild @@ -1,18 +1,19 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.6.ebuild,v 1.5 2011/12/07 07:52:36 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.6.ebuild,v 1.9 2012/02/14 06:12:19 vapier Exp $ EAPI="3" -inherit flag-o-matic +inherit flag-o-matic eutils autotools DESCRIPTION="A useful diagnostic, instructional, and debugging tool" HOMEPAGE="http://sourceforge.net/projects/strace/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz + mirror://gentoo/${P}-x32.patch.xz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux" IUSE="static aio" # strace only uses the header from libaio @@ -20,6 +21,13 @@ DEPEND="aio? ( >=dev-libs/libaio-0.3.106 ) sys-kernel/linux-headers" RDEPEND="" +src_prepare() { + if has x32 $(get_all_abis) ; then + epatch "${WORKDIR}"/${P}-x32.patch + eautoreconf + fi +} + src_configure() { filter-lfs-flags # configure handles this sanely use static && append-ldflags -static