commit: 5d2dae218ed7436bdd1114c80a4917f3634f0224 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> AuthorDate: Sat May 4 16:13:40 2019 +0000 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> CommitDate: Sat May 4 16:17:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2dae21
games-roguelike/zangband: fix build with separate tinfo Closes: https://bugs.gentoo.org/678866 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch | 12 ++++++++++++ games-roguelike/zangband/metadata.xml | 12 ++++++++---- games-roguelike/zangband/zangband-2.7.4c.ebuild | 3 ++- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch b/games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch new file mode 100644 index 00000000000..e9b491e070c --- /dev/null +++ b/games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch @@ -0,0 +1,12 @@ +diff '--color=auto' -Naurd zangband.orig/configure.in zangband/configure.in +--- zangband.orig/configure.in 2004-08-01 13:23:14.000000000 +0400 ++++ zangband/configure.in 2019-05-04 19:01:09.287753294 +0300 +@@ -117,6 +117,8 @@ + # Only check termcap if we don't have GCU + AC_SEARCH_LIBS([tgetent], [termcap], + AC_DEFINE(USE_CAP, 1, [Use termcap port]))) ++# tinfo may be in a separate lib ++AC_SEARCH_LIBS([keypad], [tinfow tinfo]) + + if test "x$with_gtk" != "xno" ; then + AC_SEARCH_LIBS([gtk_init_check], [gtk], diff --git a/games-roguelike/zangband/metadata.xml b/games-roguelike/zangband/metadata.xml index 78274e0fa55..aff073dd197 100644 --- a/games-roguelike/zangband/metadata.xml +++ b/games-roguelike/zangband/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Games Project</name> -</maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Andrew Savchenko</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Games Project</name> + </maintainer> </pkgmetadata> diff --git a/games-roguelike/zangband/zangband-2.7.4c.ebuild b/games-roguelike/zangband/zangband-2.7.4c.ebuild index 90b697ebbc8..e04a2836fb7 100644 --- a/games-roguelike/zangband/zangband-2.7.4c.ebuild +++ b/games-roguelike/zangband/zangband-2.7.4c.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,6 +28,7 @@ S=${WORKDIR}/${PN} src_prepare() { epatch "${FILESDIR}"/${P}-tk85.patch \ "${FILESDIR}"/${P}-rng.patch \ + "${FILESDIR}"/${P}-tinfo.patch \ "${FILESDIR}"/${P}-configure.patch \ "${FILESDIR}"/${P}-makefile.patch mv configure.in configure.ac || die
