diff options
author | 2010-09-06 23:22:02 +0000 | |
---|---|---|
committer | 2010-09-06 23:22:02 +0000 | |
commit | 29a8198128f8190a0084af5116914d255c1244cf (patch) | |
tree | c10c56f45a235e92c7807d73be1938b095c2ea01 /app-benchmarks | |
parent | Version bumped. (diff) | |
download | gentoo-2-29a8198128f8190a0084af5116914d255c1244cf.tar.gz gentoo-2-29a8198128f8190a0084af5116914d255c1244cf.tar.bz2 gentoo-2-29a8198128f8190a0084af5116914d255c1244cf.zip |
Fix building with recent glibc wrt #336260 by Diego E. Pettenò.
(Portage version: 2.2_rc75/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/acovea/ChangeLog | 8 | ||||
-rw-r--r-- | app-benchmarks/acovea/acovea-5.1.1.ebuild | 19 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch | 12 |
3 files changed, 28 insertions, 11 deletions
diff --git a/app-benchmarks/acovea/ChangeLog b/app-benchmarks/acovea/ChangeLog index 1416528cc9c8..b452fdacd279 100644 --- a/app-benchmarks/acovea/ChangeLog +++ b/app-benchmarks/acovea/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-benchmarks/acovea -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/ChangeLog,v 1.18 2009/06/28 22:52:34 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/ChangeLog,v 1.19 2010/09/06 23:22:02 ssuominen Exp $ + + 06 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> acovea-5.1.1.ebuild, + +files/acovea-5.1.1-glibc-212.patch: + Fix building with recent glibc wrt #336260 by Diego E. Pettenò. 28 Jun 2009; Patrick Lauer <patrick@gentoo.org> acovea-5.1.1.ebuild, +files/acovea-5.1.1-gcc44.patch: diff --git a/app-benchmarks/acovea/acovea-5.1.1.ebuild b/app-benchmarks/acovea/acovea-5.1.1.ebuild index 65485eb39f4a..1cdf45e1adbd 100644 --- a/app-benchmarks/acovea/acovea-5.1.1.ebuild +++ b/app-benchmarks/acovea/acovea-5.1.1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/acovea-5.1.1.ebuild,v 1.8 2009/06/28 22:52:34 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/acovea-5.1.1.ebuild,v 1.9 2010/09/06 23:22:02 ssuominen Exp $ -EAPI="2" +EAPI=2 WANT_AUTOMAKE=1.9 -inherit autotools +inherit autotools eutils DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm" HOMEPAGE="http://www.coyotegulch.com/products/acovea/" @@ -25,16 +25,17 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/lib${P} src_prepare() { - epatch "${FILESDIR}"/${P}-asneeded.patch - epatch "${FILESDIR}"/${P}-free-fix.patch - epatch "${FILESDIR}"/${P}-gcc44.patch - if has_version ">=dev-libs/libevocosm-3.3.0" ; then + epatch "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-free-fix.patch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-glibc-212.patch + if has_version ">=dev-libs/libevocosm-3.3.0"; then epatch ${FILESDIR}"/${P}-libevocosm.patch" fi eautomake } src_install() { - make DESTDIR="${D}" install + emake DESTDIR="${D}" install || die dodoc ChangeLog NEWS README } diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch new file mode 100644 index 000000000000..9763951a672a --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch @@ -0,0 +1,12 @@ +http://bugs.gentoo.org/336260 + +--- libacovea/acovea.cpp ++++ libacovea/acovea.cpp +@@ -44,6 +44,7 @@ + #include <unistd.h> + #include <sys/types.h> + #include <sys/wait.h> ++#include <sys/stat.h> + + #include <vector> + #include <cstring> |