--- /dev/null
+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],
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
+ <maintainer type="person">
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
</pkgmetadata>
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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