* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/acovea/files/, app-benchmarks/acovea/
@ 2017-12-28 12:50 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-12-28 12:50 UTC (permalink / raw
To: gentoo-commits
commit: 440283d9bbae48dcaa54bbb1576c338c03d40745
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 12:32:58 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 12:49:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440283d9
app-benchmarks/acovea: [QA] Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-benchmarks/acovea/acovea-5.1.1-r2.ebuild | 47 ++++++++++++++++++++++
.../acovea/files/acovea-5.1.1-asneeded.patch | 8 ++--
.../acovea/files/acovea-5.1.1-free-fix.patch | 4 +-
.../acovea/files/acovea-5.1.1-gcc44.patch | 4 +-
.../acovea/files/acovea-5.1.1-glibc-212.patch | 4 +-
.../acovea/files/acovea-5.1.1-libevocosm.patch | 4 +-
6 files changed, 59 insertions(+), 12 deletions(-)
diff --git a/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild b/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild
new file mode 100644
index 00000000000..ed0e2b0232d
--- /dev/null
+++ b/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm"
+HOMEPAGE="http://www.coyotegulch.com/products/acovea/"
+SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+ >=dev-libs/libcoyotl-3.1.0:=
+ >=dev-libs/libevocosm-3.3.0:=
+ dev-libs/expat:="
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/lib${P}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-asneeded.patch
+ "${FILESDIR}"/${P}-free-fix.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+ "${FILESDIR}"/${P}-glibc-212.patch
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-libevocosm.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch
index 8bfb8a17555..3a887c15888 100644
--- a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch
@@ -1,13 +1,13 @@
---- cmdline/Makefile.am
-+++ cmdline/Makefile.am
+--- a/cmdline/Makefile.am
++++ b/cmdline/Makefile.am
@@ -7,4 +7,4 @@
runacovea_SOURCES = runacovea.cpp
-LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lexpat
+LIBS = -L../libacovea -lacovea -lcoyotl -levocosm
---- libacovea/Makefile.am
-+++ libacovea/Makefile.am
+--- a/libacovea/Makefile.am
++++ b/libacovea/Makefile.am
@@ -16,3 +16,5 @@
library_include_HEADERS = $(h_sources)
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch
index 55b3b00e889..e20bfa3eb98 100644
--- a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch
@@ -1,5 +1,5 @@
---- benchmarks/treebench.c
-+++ benchmarks/treebench.c
+--- a/benchmarks/treebench.c
++++ b/benchmarks/treebench.c
@@ -201,8 +201,8 @@
if (page->m_links[n] != NULL)
recursive_destroy_page(page->m_links[n]);
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
index c5e5392b2f9..2207f461642 100644
--- a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
@@ -1,5 +1,5 @@
---- libacovea/acovea.cpp
-+++ libacovea/acovea.cpp
+--- a/libacovea/acovea.cpp
++++ b/libacovea/acovea.cpp
@@ -44,10 +44,11 @@
#include <unistd.h>
#include <sys/types.h>
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
index 9763951a672..996cb5ebc82 100644
--- a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch
@@ -1,7 +1,7 @@
http://bugs.gentoo.org/336260
---- libacovea/acovea.cpp
-+++ libacovea/acovea.cpp
+--- a/libacovea/acovea.cpp
++++ b/libacovea/acovea.cpp
@@ -44,6 +44,7 @@
#include <unistd.h>
#include <sys/types.h>
diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch
index f801b8c68bc..46ddb5fe4d9 100644
--- a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch
+++ b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch
@@ -1,5 +1,5 @@
---- libacovea/acovea.cpp
-+++ libacovea/acovea.cpp
+--- a/libacovea/acovea.cpp
++++ b/libacovea/acovea.cpp
@@ -86,7 +86,7 @@
// randomize settings of this option
void option::randomize()
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-28 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28 12:50 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/acovea/files/, app-benchmarks/acovea/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox