summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/ffcall/ChangeLog8
-rw-r--r--dev-libs/ffcall/Manifest11
-rw-r--r--dev-libs/ffcall/ffcall-1.10-r5.ebuild76
3 files changed, 89 insertions, 6 deletions
diff --git a/dev-libs/ffcall/ChangeLog b/dev-libs/ffcall/ChangeLog
index 73ccb84f1070..095e4abe1102 100644
--- a/dev-libs/ffcall/ChangeLog
+++ b/dev-libs/ffcall/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/ffcall
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.44 2014/03/02 09:39:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.45 2014/12/14 11:10:54 slyfox Exp $
+
+*ffcall-1.10-r5 (14 Dec 2014)
+
+ 14 Dec 2014; Sergei Trofimovich <slyfox@gentoo.org> +ffcall-1.10-r5.ebuild:
+ Respect CFLAGS/LDFLAGS (bug #334581), mark noexecstack (bug #253963). Thanks
+ to w0rm for the report.
02 Mar 2014; Pacho Ramos <pacho@gentoo.org> ffcall-1.10-r2.ebuild:
amd64 stable, bug #438334
diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest
index 2c8d03eea56b..7ff4bdce0ea9 100644
--- a/dev-libs/ffcall/Manifest
+++ b/dev-libs/ffcall/Manifest
@@ -7,13 +7,14 @@ DIST ffcall-1.10.tar.gz 914870 SHA256 6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff
EBUILD ffcall-1.10-r2.ebuild 1370 SHA256 05f26b4754b52336d245ea2e6c897139db112a115d9be1e5972154c99fdbc465 SHA512 8621c425a6fbe7aa591f4f38be41f895e30393de70916681195abac88900c5626030b76dfabc1336d2cf1f6fa918a9cf18e583c917be4b2d3e7577442ee66a2c WHIRLPOOL 8b2140e765bc8eaf01190b08ec9907ae15bc2a10ee1a62ac5756b03a3399a1ac6ff45897aebe150ede3f66d3ddac966296e336470a72732059c0edaa755f96dc
EBUILD ffcall-1.10-r3.ebuild 1534 SHA256 d50b4a73d33f3e3df1af6b99b565d49f2c7080c0994ee2b4f0f2b4c0a35231f2 SHA512 84ed5aaf34702fc76557a75ece0103d25406bccf8fdead36b128bf860c1722751175391ddb5c17f2194b25d51589b4db69f10202e13a0517ce58b25935a39fb6 WHIRLPOOL f6d7b4c8f18962fd2ff3b7c1feed562a4228dc2af0283114ba610784c37c7f938d9bd6d13041e82ea602a3ea012d10d27e1c068c0cd605b5125745d5614dc355
EBUILD ffcall-1.10-r4.ebuild 1491 SHA256 ca031737e5bab800c32dda8331be2a9a171e633403a7bd0ebc6dfdddfedf2d7a SHA512 40cdb4f62263c47bc7cd262723e00151ebbd5d6d6053279fab37e5e5e85132b0fcae99a9762ab5a6e8657c7fe653dcad8bd4508547d2961c94df757422ebf47b WHIRLPOOL 502827e2149693e172b2db097c3a6a9861ced8f680b69eca3736dcd776b50f58dd52633ddaa60abf8158d7883c6dc10665844ba886a55fb90c149dc0124d3af1
+EBUILD ffcall-1.10-r5.ebuild 2118 SHA256 e03c71f8b378ef224c390f56b7f03bac595879ab570c37deb5ba8d84b63571c7 SHA512 7f663718dcf1e997be9d16269ab656bb50c8d1e47c40b840ff35dedc90c5c521e155d06faad65402b090f1966fe69cf11f34ba346ddc8b35a7322ffd4ec5fe07 WHIRLPOOL ac45956d9a7d9a21740970941a8ab089e4126e89622443ff5aaa7cb17ee9dd051a263cc352c6091c29ea9b806be06e3133aceba00186644b91e1c3030ed34a01
EBUILD ffcall-1.10.ebuild 1732 SHA256 f659b7e512252a898b121e9a9d0b7c8de226d3cd251fc156a5389152bcad50bb SHA512 439883ff159566ebd09c37ac8cd5656b15e1c58af6d04ed95581d33309fec8c469c0719f1f02975d178d8d6a772270696d0b41b89c03589727f98d2ec22fd0d0 WHIRLPOOL 675b4cdac1a7e84ed5559fc078023be98a400d1f820d87a4fce342fd81af84253fde3b82c4f8835743b8b8b535c5619033379cb40b5d5a2f235efb4dd15983c9
-MISC ChangeLog 4968 SHA256 f0c3dc69d01c626fa6d52a09c837d89861fe8f589ba4a6dab525745d5de13caa SHA512 30db7e3fef1fbafe1a233990a5854b9c364eefc3f5677640cc0495b72898bdb498bb82faaf060727d36e2f1ecd86498d5712463f03b11f1077ca4648b8d471e0 WHIRLPOOL d0b9e7cf0050ea02adad5cf0763a47d37c484430cafb3b375b4616a7d8ab30c3dc244594894afb3944de43bfad21920f582f90840c0509ede0ce11d6a7e9624c
+MISC ChangeLog 5184 SHA256 8624a5c4dc7e8e2b7588285d6f0dce010df174111eb2361074f5958c6e26bd0b SHA512 bd936f66fa905a7d99cd307f353f3801616e67b467664df929cc639e1bbbe3d85198fa8a5635d23bb6859521f83554e7bcbd5e9a02689a97b8c3c88dc5472797 WHIRLPOOL 106c14c5a722f26b7c83e6f44a14957620f8d10390f6585bbd0ea0ac7fca007702efe6e7e8f48343f6efbe121ae2265cd870a82beedb32308652333797d8a423
MISC metadata.xml 732 SHA256 7a9f99025d66640530f46b9c6a64f084df6238a921d752278b9737540a8e14a8 SHA512 e69632e44a3e01e846a9ba4de47c57b8bcd13560658f58622c27e3bf771a3ec10f52c8af82a2075cabc27d412d81be56bd1d287f854fdfc24f32d5561ce196b2 WHIRLPOOL 4e8ffde7c5f51a9bce0f3f4c641e62f300af8513a12fa2c0a1500b8b29d98c0a7a0b930fde54ac24a281736228456d50081fa01aa2e1fbcd1198467a9ab4b1f5
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlMS/GIACgkQCaWpQKGI+9TLHACfdYPj/A5AIaIblrmQNl4xfc5H
-E0kAnivGetZZCkHJVnedrqbLqn5ClMmy
-=/Q28
+iEYEAREIAAYFAlSNcEUACgkQcaHudmEf86pJUwCffPW3VhpCjFiXdY1PcUrr12g2
+1i4An0ME8wIs6RLhxCGYQOoLmvYXqiQw
+=7gL+
-----END PGP SIGNATURE-----
diff --git a/dev-libs/ffcall/ffcall-1.10-r5.ebuild b/dev-libs/ffcall/ffcall-1.10-r5.ebuild
new file mode 100644
index 000000000000..1ca63743536f
--- /dev/null
+++ b/dev-libs/ffcall/ffcall-1.10-r5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ffcall-1.10-r5.ebuild,v 1.1 2014/12/14 11:10:54 slyfox Exp $
+
+EAPI=5
+inherit eutils flag-o-matic toolchain-funcs
+
+# CLISP maintains ffcall now
+CLISP_PACKAGE="clisp-2.41"
+
+DESCRIPTION="foreign function call libraries"
+HOMEPAGE="http://www.haible.de/bruno/packages-ffcall.html"
+SRC_URI="mirror://sourceforge/clisp/${CLISP_PACKAGE}.tar.bz2"
+
+# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep
+# or in derivate works of GNUstep, the included parts of ffcall are
+# under GNU LGPL." -ffcall author
+LICENSE="|| ( GPL-2 LGPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+S=${WORKDIR}/${CLISP_PACKAGE}/${PN}
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-make-jN.patch
+
+ # The build system is a strange mix of autogenerated
+ # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly.
+ # We are adding them consistently here and a bit over the top:
+ # bugs: #334581
+
+ for mfi in {,*/,*/*/,}Makefile.in
+ do
+ elog "Patching '${mfi}'"
+ # usually uses only assembler here, but -march=
+ # and -Wa, are a must to pass here.
+ sed -e 's/$(CC) /&$(CFLAGS) /g' \
+ -i "${mfi}" || die
+
+ # usually uses '$(CC) ... -o something' for linking
+ sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \
+ -i "${mfi}" || die
+ done
+}
+
+src_configure() {
+ append-flags -fPIC
+ append-flags $(test-flags-CC -Wa,--noexecstack) #253963
+
+ # Doc goes in datadir
+ econf \
+ --datadir="${EPREFIX}"/usr/share/doc/${PF} \
+ --enable-shared \
+ --disable-static
+}
+
+src_compile() {
+ # Because CHOST is set to (for example)
+ # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which
+ # doesn't work in the Makefile (29 Jan 2004 agriffis)
+ local cpu_setting
+ [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha'
+
+ emake ${cpu_setting}
+}
+
+src_install() {
+ dodoc NEWS README
+ dodir /usr/share/man
+ default
+ prune_libtool_files
+}