From 291bc553341678ea35ec32f93fdd5e41c06d26f2 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Mon, 20 Sep 2010 17:55:49 +0000 Subject: Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò (Portage version: 2.1.8.3/cvs/Linux ia64) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev-libs/libffi/ChangeLog | 7 ++++++- dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch | 13 +++++++++++++ dev-libs/libffi/libffi-3.0.9.ebuild | 4 +++- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch (limited to 'dev-libs/libffi') diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog index 12d327c56c85..c4f88ba0cd8f 100644 --- a/dev-libs/libffi/ChangeLog +++ b/dev-libs/libffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libffi # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.106 2010/09/19 17:33:36 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.107 2010/09/20 17:55:49 armin76 Exp $ + + 20 Sep 2010; Raúl Porcel libffi-3.0.9.ebuild, + +files/libffi-3.0.9-arm-oabi.patch: + Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò + 19 Sep 2010; Raúl Porcel libffi-3.0.9.ebuild: s390 stable diff --git a/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch b/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch new file mode 100644 index 000000000000..e804dcc62f9e --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch @@ -0,0 +1,13 @@ +Index: gcc-4.3.4/libffi/src/arm/sysv.S +=================================================================== +--- gcc-4.3.4.orig/libffi/src/arm/sysv.S ++++ gcc-4.3.4/libffi/src/arm/sysv.S +@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV + stmfd sp!, {ip, lr} + UNWIND .save {r0, lr} + add r2, sp, #8 +- .pad #16 ++ UNWIND .pad #16 + sub sp, sp, #16 + str sp, [sp, #8] + add r1, sp, #8 diff --git a/dev-libs/libffi/libffi-3.0.9.ebuild b/dev-libs/libffi/libffi-3.0.9.ebuild index d914bfde8b1d..912d5224829f 100644 --- a/dev-libs/libffi/libffi-3.0.9.ebuild +++ b/dev-libs/libffi/libffi-3.0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9.ebuild,v 1.15 2010/09/19 17:33:36 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9.ebuild,v 1.16 2010/09/20 17:55:49 armin76 Exp $ inherit eutils libtool @@ -23,6 +23,8 @@ src_unpack() { epatch "${FILESDIR}"/${P}-interix.patch \ "${FILESDIR}"/${P}-irix.patch + epatch "${FILESDIR}"/${P}-arm-oabi.patch + elibtoolize } -- cgit v1.2.3-65-gdbad