summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-02 10:07:18 +0200
committerJustin Lecher <jlec@gentoo.org>2013-06-02 10:07:25 +0200
commitb89ad474559d98953346467cd0f32d37d1283d78 (patch)
tree0c2a300bc20bd98465dc451da605718febde2443 /app-benchmarks
parentapp-cdr/xorriso: 1.3.0 (diff)
downloadbetagarden-b89ad474559d98953346467cd0f32d37d1283d78.tar.gz
betagarden-b89ad474559d98953346467cd0f32d37d1283d78.tar.bz2
betagarden-b89ad474559d98953346467cd0f32d37d1283d78.zip
app-benchmarks/i7z: Add fix for tinfo
Package-Manager: portage-2.2.0_alpha177
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/i7z/ChangeLog14
-rw-r--r--app-benchmarks/i7z/files/i7z-9999-ncurses.patch22
-rw-r--r--app-benchmarks/i7z/i7z-9999.ebuild3
-rw-r--r--app-benchmarks/i7z/metadata.xml6
4 files changed, 40 insertions, 5 deletions
diff --git a/app-benchmarks/i7z/ChangeLog b/app-benchmarks/i7z/ChangeLog
index 1828336..82c73da 100644
--- a/app-benchmarks/i7z/ChangeLog
+++ b/app-benchmarks/i7z/ChangeLog
@@ -1,7 +1,19 @@
# ChangeLog for app-benchmarks/i7z
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Jun 2013; Justin Lecher <jlec@gentoo.org> i7z-9999.ebuild,
+ +files/i7z-9999-ncurses.patch, metadata.xml:
+ Add fix for tinfo
+
+ 02 Jun 2013; Justin Lecher <jlec@gentoo.org> i7z-9999.ebuild,
+ +files/i7z-9999-ncurses.patch, metadata.xml:
+ Add fix for tinfo
+
+ 02 Jun 2013; Justin Lecher <jlec@gentoo.org> i7z-9999.ebuild,
+ +files/i7z-9999-ncurses.patch, metadata.xml:
+ Add fix for tinfo
+
31 Oct 2012; Justin Lecher <jlec@gentoo.org> i7z-9999.ebuild:
Import tree changes
diff --git a/app-benchmarks/i7z/files/i7z-9999-ncurses.patch b/app-benchmarks/i7z/files/i7z-9999-ncurses.patch
new file mode 100644
index 0000000..2d0a5a1
--- /dev/null
+++ b/app-benchmarks/i7z/files/i7z-9999-ncurses.patch
@@ -0,0 +1,22 @@
+Index: Makefile
+===================================================================
+--- Makefile (revision 109)
++++ Makefile (working copy)
+@@ -19,7 +19,7 @@
+
+ CC ?= gcc
+
+-LIBS += -lncurses -lpthread -lrt -lm
++LIBS += `pkg-config --libs ncurses` -lpthread -lrt -lm
+ INCLUDEFLAGS =
+
+ BIN = i7z
+@@ -42,7 +42,7 @@
+
+ #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644728 for -ltinfo on debian
+ static-bin: message $(OBJ)
+- $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread -lncurses -lrt -lm -ltinfo
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread `pkg-config --static --libs ncurses` -lrt -lm
+
+ # perfmon-bin: message $(OBJ)
+ # $(CC) $(CFLAGS) $(LDFLAGS) -o $(PERFMON-BIN) perfmon-i7z.c helper_functions.c $(LIBS)
diff --git a/app-benchmarks/i7z/i7z-9999.ebuild b/app-benchmarks/i7z/i7z-9999.ebuild
index 6ca98ee..7dacdaa 100644
--- a/app-benchmarks/i7z/i7z-9999.ebuild
+++ b/app-benchmarks/i7z/i7z-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild,v 1.3 2011/04/27 07:45:55 jlec Exp $
@@ -22,6 +22,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-ncurses.patch
tc-export CC
}
diff --git a/app-benchmarks/i7z/metadata.xml b/app-benchmarks/i7z/metadata.xml
index cc3fe24..a759be0 100644
--- a/app-benchmarks/i7z/metadata.xml
+++ b/app-benchmarks/i7z/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>maintainer-wanted@gentoo.org</email>
- </maintainer>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
</pkgmetadata>