diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-27 17:14:03 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-27 17:14:03 +0000 |
commit | 539f79b4a543ea213d60ad212e9217e3b6226c35 (patch) | |
tree | cf84bb65709fc130fc44d08ffc442afc6d0667dd /dev-libs/libffi | |
parent | Time to let preserve_old_lib go and rely upon FEATURES="preserved-libs" which... (diff) | |
download | gentoo-2-539f79b4a543ea213d60ad212e9217e3b6226c35.tar.gz gentoo-2-539f79b4a543ea213d60ad212e9217e3b6226c35.tar.bz2 gentoo-2-539f79b4a543ea213d60ad212e9217e3b6226c35.zip |
old
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r-- | dev-libs/libffi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.11-x86-pic-check.patch | 113 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.11.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.12.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.13.ebuild | 61 |
5 files changed, 6 insertions, 307 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog index 98d1246bdc5e..50158b7a34af 100644 --- a/dev-libs/libffi/ChangeLog +++ b/dev-libs/libffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libffi # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.185 2014/05/27 17:12:55 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.186 2014/05/27 17:14:03 ssuominen Exp $ + + 27 May 2014; Samuli Suominen <ssuominen@gentoo.org> + -files/libffi-3.0.11-x86-pic-check.patch, -libffi-3.0.11.ebuild, + -libffi-3.0.12.ebuild, -libffi-3.0.13.ebuild: + old 27 May 2014; Samuli Suominen <ssuominen@gentoo.org> libffi-3.1.ebuild: Time to let preserve_old_lib go and rely upon FEATURES="preserved-libs" which diff --git a/dev-libs/libffi/files/libffi-3.0.11-x86-pic-check.patch b/dev-libs/libffi/files/libffi-3.0.11-x86-pic-check.patch deleted file mode 100644 index 40f553221089..000000000000 --- a/dev-libs/libffi/files/libffi-3.0.11-x86-pic-check.patch +++ /dev/null @@ -1,113 +0,0 @@ -https://bugs.gentoo.org/417179 -https://github.com/atgreen/libffi/issues/21 - -From bff052d9cd5be41ba9e47c76114054af487d3c30 Mon Sep 17 00:00:00 2001 -From: Anthony Green <green@moxielogic.com> -Date: Fri, 11 Jan 2013 10:24:32 -0500 -Subject: [PATCH] 32-bit x86 fix and more - ---- - ChangeLog | 8 ++++++++ - README | 2 ++ - configure | 43 +++++-------------------------------------- - configure.ac | 6 +++--- - m4/ax_cc_maxopt.m4 | 3 ++- - 5 files changed, 20 insertions(+), 42 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 5ca32fd..32ec7c5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -334,10 +334,10 @@ fi - if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then - AC_CACHE_CHECK([assembler supports pc related relocs], - libffi_cv_as_x86_pcrel, [ -- libffi_cv_as_x86_pcrel=yes -+ libffi_cv_as_x86_pcrel=no - echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s -- if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then -- libffi_cv_as_x86_pcrel=no -+ if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then -+ libffi_cv_as_x86_pcrel=yes - fi - ]) - if test "x$libffi_cv_as_x86_pcrel" = xyes; then -diff --git a/m4/ax_cc_maxopt.m4 b/m4/ax_cc_maxopt.m4 -index f5f7517..62e3b53 100644 ---- a/m4/ax_cc_maxopt.m4 -+++ b/m4/ax_cc_maxopt.m4 -@@ -141,7 +141,8 @@ if test "$ac_test_CFLAGS" != "set"; then - CFLAGS="-O3 -fomit-frame-pointer" - - # -malign-double for x86 systems -- AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double") -+ # LIBFFI -- DON'T DO THIS - CHANGES ABI -+ # AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double") - - # -fstrict-aliasing for gcc-2.95+ - AX_CHECK_COMPILE_FLAG(-fstrict-aliasing, -diff --git a/configure b/configure -index 95d950b..41bde69 100755 ---- a/configure -+++ b/configure -@@ -12426,41 +12426,8 @@ $as_echo "$icc_archflag" >&6; } - CFLAGS="-O3 -fomit-frame-pointer" - - # -malign-double for x86 systems -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5 --$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; } --if ${ax_cv_check_cflags___malign_double+:} false; then : -- $as_echo_n "(cached) " >&6 --else -- -- ax_check_save_flags=$CFLAGS -- CFLAGS="$CFLAGS -malign-double" -- cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- --int --main () --{ -- -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_compile "$LINENO"; then : -- ax_cv_check_cflags___malign_double=yes --else -- ax_cv_check_cflags___malign_double=no --fi --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- CFLAGS=$ax_check_save_flags --fi --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___malign_double" >&5 --$as_echo "$ax_cv_check_cflags___malign_double" >&6; } --if test x"$ax_cv_check_cflags___malign_double" = xyes; then : -- CFLAGS="$CFLAGS -malign-double" --else -- : --fi -- -+ # LIBFFI -- DON'T DO THIS - CHANGES ABI -+ # AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double") - - # -fstrict-aliasing for gcc-2.95+ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5 -@@ -14480,10 +14447,10 @@ if ${libffi_cv_as_x86_pcrel+:} false; then : - $as_echo_n "(cached) " >&6 - else - -- libffi_cv_as_x86_pcrel=yes -+ libffi_cv_as_x86_pcrel=no - echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s -- if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then -- libffi_cv_as_x86_pcrel=no -+ if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then -+ libffi_cv_as_x86_pcrel=yes - fi - - fi --- -1.7.10 - diff --git a/dev-libs/libffi/libffi-3.0.11.ebuild b/dev-libs/libffi/libffi-3.0.11.ebuild deleted file mode 100644 index 3df8aaad4dcd..000000000000 --- a/dev-libs/libffi/libffi-3.0.11.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11.ebuild,v 1.21 2014/03/25 20:04:37 vapier Exp $ - -EAPI=4 - -MY_P=${P/_/-} - -inherit eutils libtool multilib toolchain-funcs - -DESCRIPTION="a portable, high level programming interface to various calling conventions." -HOMEPAGE="http://sourceware.org/libffi/" -SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug static-libs test" - -RDEPEND="" -DEPEND="test? ( dev-util/dejagnu )" - -S=${WORKDIR}/${MY_P} - -DOCS="ChangeLog* README" - -pkg_setup() { - # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example - if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then - local base="${T}"/conftest - echo 'int main() { }' > "${base}".c - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null - if [ $? -eq 0 ]; then - eerror "The linker reported linking against -lffi to be working while it shouldn't have." - eerror "This is wrong and you should find and delete the old copy of libffi before continuing." - die "The system is in inconsistent state with unknown libffi installed." - fi - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-x86-pic-check.patch #417179 - sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814 - epatch_user - elibtoolize -} - -src_configure() { - use userland_BSD && export HOST="${CHOST}" - econf \ - $(use_enable static-libs static) \ - $(use_enable debug) -} - -src_install() { - default - rm -f "${ED}"/usr/lib*/lib*.la -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) -} diff --git a/dev-libs/libffi/libffi-3.0.12.ebuild b/dev-libs/libffi/libffi-3.0.12.ebuild deleted file mode 100644 index 22008b900ab9..000000000000 --- a/dev-libs/libffi/libffi-3.0.12.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.12.ebuild,v 1.4 2014/03/25 20:04:37 vapier Exp $ - -EAPI=5 - -MY_P=${P/_/-} - -inherit eutils libtool multilib toolchain-funcs - -DESCRIPTION="a portable, high level programming interface to various calling conventions." -HOMEPAGE="http://sourceware.org/libffi/" -SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug pax_kernel static-libs test" - -RDEPEND="" -DEPEND="test? ( dev-util/dejagnu )" - -S=${WORKDIR}/${MY_P} - -DOCS="ChangeLog* README" - -pkg_setup() { - # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example - if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then - local base="${T}"/conftest - echo 'int main() { }' > "${base}".c - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null - if [ $? -eq 0 ]; then - eerror "The linker reported linking against -lffi to be working while it shouldn't have." - eerror "This is wrong and you should find and delete the old copy of libffi before continuing." - die "The system is in inconsistent state with unknown libffi installed." - fi - fi -} - -src_prepare() { - sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814 - epatch_user - elibtoolize -} - -src_configure() { - use userland_BSD && export HOST="${CHOST}" - econf \ - $(use_enable static-libs static) \ - $(use_enable pax_kernel pax_emutramp) \ - $(use_enable debug) -} - -src_install() { - default - prune_libtool_files -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) -} diff --git a/dev-libs/libffi/libffi-3.0.13.ebuild b/dev-libs/libffi/libffi-3.0.13.ebuild deleted file mode 100644 index 8a8070f3bc4b..000000000000 --- a/dev-libs/libffi/libffi-3.0.13.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.13.ebuild,v 1.4 2014/03/25 20:04:37 vapier Exp $ - -EAPI=5 -inherit eutils libtool multilib toolchain-funcs - -DESCRIPTION="a portable, high level programming interface to various calling conventions." -HOMEPAGE="http://sourceware.org/libffi/" -SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug pax_kernel static-libs test" - -DEPEND="test? ( dev-util/dejagnu )" - -DOCS="ChangeLog* README" - -pkg_setup() { - # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example - if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then - local base="${T}"/conftest - echo 'int main() { }' > "${base}".c - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null - if [ $? -eq 0 ]; then - eerror "The linker reported linking against -lffi to be working while it shouldn't have." - eerror "This is wrong and you should find and delete the old copy of libffi before continuing." - die "The system is in inconsistent state with unknown libffi installed." - fi - fi -} - -src_prepare() { - sed -i 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814 - epatch "${FILESDIR}"/${P}-emutramp_pax_proc.patch #457194 - epatch_user - elibtoolize -} - -src_configure() { - use userland_BSD && export HOST="${CHOST}" - econf \ - $(use_enable static-libs static) \ - $(use_enable pax_kernel pax_emutramp) \ - $(use_enable debug) -} - -src_install() { - default - prune_libtool_files -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) -} |