mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 22:42:10 +01:00
strace: pull in x32 updates from upstream Gentoo
We need a patch in order to strace x32 programs. BUG=None TEST=`emerge strace` still works Change-Id: Id0125f76ff08855b1a6aa761e3f0cd6062d6af3d Reviewed-on: https://gerrit.chromium.org/gerrit/16082 Reviewed-by: Yunlian Jiang <yunlian@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
c436de9adb
commit
3281b899f2
@ -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
|
DIST strace-4.6.tar.xz 403788 RMD160 da093a93da14639d1a20501e21c55be23ada495d SHA1 d84d6e215a65454aa5660e7b5c6200f6de39b89e SHA256 9ef9aa41b6118578e33ef4833b8a04209d6cc062546c28efd715f283b172c28a
|
||||||
|
|||||||
@ -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
|
# 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"
|
EAPI="3"
|
||||||
|
|
||||||
inherit flag-o-matic
|
inherit flag-o-matic eutils autotools
|
||||||
|
|
||||||
DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
|
DESCRIPTION="A useful diagnostic, instructional, and debugging tool"
|
||||||
HOMEPAGE="http://sourceforge.net/projects/strace/"
|
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"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
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"
|
IUSE="static aio"
|
||||||
|
|
||||||
# strace only uses the header from libaio
|
# strace only uses the header from libaio
|
||||||
@ -20,6 +21,13 @@ DEPEND="aio? ( >=dev-libs/libaio-0.3.106 )
|
|||||||
sys-kernel/linux-headers"
|
sys-kernel/linux-headers"
|
||||||
RDEPEND=""
|
RDEPEND=""
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if has x32 $(get_all_abis) ; then
|
||||||
|
epatch "${WORKDIR}"/${P}-x32.patch
|
||||||
|
eautoreconf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
filter-lfs-flags # configure handles this sanely
|
filter-lfs-flags # configure handles this sanely
|
||||||
use static && append-ldflags -static
|
use static && append-ldflags -static
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user