summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2015-03-26 23:06:52 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2015-03-26 23:06:52 +0000
commitd9c7b093d0371731d26c8b9c93e1aa9a2d8c523a (patch)
tree3bede547fea5eb56d7e1a432c7aadd1b451a5ae4 /games-emulation
parentold (diff)
downloadgentoo-2-d9c7b093d0371731d26c8b9c93e1aa9a2d8c523a.tar.gz
gentoo-2-d9c7b093d0371731d26c8b9c93e1aa9a2d8c523a.tar.bz2
gentoo-2-d9c7b093d0371731d26c8b9c93e1aa9a2d8c523a.zip
Look for tgetent also in tinfow, fixes bug 544608.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B1E955DB)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/atari800/ChangeLog6
-rw-r--r--games-emulation/atari800/atari800-3.1.0.ebuild9
-rw-r--r--games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch12
3 files changed, 24 insertions, 3 deletions
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog
index 9355143112a8..c420d954dd38 100644
--- a/games-emulation/atari800/ChangeLog
+++ b/games-emulation/atari800/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/atari800
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.40 2015/03/25 13:53:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.41 2015/03/26 23:06:52 reavertm Exp $
+
+ 26 Mar 2015; Maciej Mrozowski <reavertm@gentoo.org>
+ +files/atari800-3.1.0-tgetent-detection.patch, atari800-3.1.0.ebuild:
+ Look for tgetent also in tinfow, fixes bug 544608.
25 Mar 2015; Agostino Sarubbo <ago@gentoo.org> atari800-3.1.0.ebuild:
Stable for x86, wrt bug #544244
diff --git a/games-emulation/atari800/atari800-3.1.0.ebuild b/games-emulation/atari800/atari800-3.1.0.ebuild
index 2d4262914089..900dc0310795 100644
--- a/games-emulation/atari800/atari800-3.1.0.ebuild
+++ b/games-emulation/atari800/atari800-3.1.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-3.1.0.ebuild,v 1.3 2015/03/25 13:53:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-3.1.0.ebuild,v 1.4 2015/03/26 23:06:52 reavertm Exp $
EAPI=5
-inherit games
+inherit games autotools eutils
DESCRIPTION="Atari 800 emulator"
HOMEPAGE="http://atari800.sourceforge.net/"
@@ -44,6 +44,11 @@ src_prepare() {
src/atari.c || die
sed "s:/usr/share/games:${GAMES_DATADIR}:" \
"${FILESDIR}"/atari800.cfg > "${T}"/atari800.cfg || die
+
+ # Bug 544608
+ epatch "${FILESDIR}/${P}-tgetent-detection.patch"
+ pushd src > /dev/null && eautoreconf
+ popd > /dev/null
}
src_configure() {
diff --git a/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
new file mode 100644
index 000000000000..018e423af6b4
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-3.1.0-tgetent-detection.patch
@@ -0,0 +1,12 @@
+diff -ruN atari800-3.1.0/src/configure.ac new/src/configure.ac
+--- atari800-3.1.0/src/configure.ac 2014-04-12 15:58:16.000000000 +0200
++++ new/src/configure.ac 2015-03-26 23:36:24.419178078 +0100
+@@ -982,7 +982,7 @@
+ dnl existence of the tgetent symbol in readline. If not, we search for tgetent
+ dnl in a few other libraries. All done with a single AC_SEARCH_LIBS statement.
+ have_readline=no
+- AC_SEARCH_LIBS(tgetent, [readline termcap ncursesw ncurses curses], [
++ AC_SEARCH_LIBS(tgetent, [readline termcap tinfow ncursesw ncurses curses], [
+ AC_SEARCH_LIBS(readline, readline, [
+ AC_CHECK_HEADER([readline/readline.h], [
+ have_readline=yes