summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-09-20 17:55:49 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-09-20 17:55:49 +0000
commit291bc553341678ea35ec32f93fdd5e41c06d26f2 (patch)
tree13b06de4558d6d937cc9b07456e751b91cdb9bc7 /dev-libs/libffi
parentFixed the build system to honour the MAKEOPTS job number, fixed forced --as-n... (diff)
downloadgentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.tar.gz
gentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.tar.bz2
gentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.zip
Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
(Portage version: 2.1.8.3/cvs/Linux ia64)
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r--dev-libs/libffi/ChangeLog7
-rw-r--r--dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch13
-rw-r--r--dev-libs/libffi/libffi-3.0.9.ebuild4
3 files changed, 22 insertions, 2 deletions
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 <armin76@gentoo.org> libffi-3.0.9.ebuild,
+ +files/libffi-3.0.9-arm-oabi.patch:
+ Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò
+ <flameeyes@gentoo.org>
19 Sep 2010; Raúl Porcel <armin76@gentoo.org> 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
}