summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-28 22:52:34 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-28 22:52:34 +0000
commitbea96addd73ffb04552df5abc86d8d5385121138 (patch)
tree6908e47144d7a3168de4ba625de598c42a372879 /app-benchmarks
parentRemoving vulnerable version, security bug #275745 (diff)
downloadgentoo-2-bea96addd73ffb04552df5abc86d8d5385121138.tar.gz
gentoo-2-bea96addd73ffb04552df5abc86d8d5385121138.tar.bz2
gentoo-2-bea96addd73ffb04552df5abc86d8d5385121138.zip
Adding gcc 4.4 compile fix by Victor Ostorga. Closes #272625
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/acovea/ChangeLog6
-rw-r--r--app-benchmarks/acovea/acovea-5.1.1.ebuild9
-rw-r--r--app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch15
3 files changed, 25 insertions, 5 deletions
diff --git a/app-benchmarks/acovea/ChangeLog b/app-benchmarks/acovea/ChangeLog
index db05a219d255..1416528cc9c8 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.17 2009/06/03 07:27:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/ChangeLog,v 1.18 2009/06/28 22:52:34 patrick Exp $
+
+ 28 Jun 2009; Patrick Lauer <patrick@gentoo.org> acovea-5.1.1.ebuild,
+ +files/acovea-5.1.1-gcc44.patch:
+ Adding gcc 4.4 compile fix by Victor Ostorga. Closes #272625
03 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> acovea-5.1.1.ebuild:
Request automake 1.9 otherwise eautomake fails.
diff --git a/app-benchmarks/acovea/acovea-5.1.1.ebuild b/app-benchmarks/acovea/acovea-5.1.1.ebuild
index e28e01e09692..65485eb39f4a 100644
--- a/app-benchmarks/acovea/acovea-5.1.1.ebuild
+++ b/app-benchmarks/acovea/acovea-5.1.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 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.7 2009/06/03 07:27:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/acovea/acovea-5.1.1.ebuild,v 1.8 2009/06/28 22:52:34 patrick Exp $
+
+EAPI="2"
WANT_AUTOMAKE=1.9
@@ -22,11 +24,10 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/lib${P}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+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}-libevocosm.patch"
fi
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
new file mode 100644
index 000000000000..ee95724d1070
--- /dev/null
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
@@ -0,0 +1,15 @@
+diff -NrU5 libacovea-5.1.1.original/libacovea/acovea.cpp libacovea-5.1.1/libacovea/acovea.cpp
+--- libacovea-5.1.1.original/libacovea/acovea.cpp 2009-06-07 23:53:01.000000000 -0600
++++ libacovea-5.1.1/libacovea/acovea.cpp 2009-06-07 23:53:51.000000000 -0600
+@@ -44,10 +44,11 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
+
+ #include <vector>
++#include <cstdio>
+ #include <cstring>
+ #include <sstream>
+ #include <iostream>
+ #include <iomanip>
+ #include <stdexcept>