summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2019-05-04 19:13:40 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2019-05-04 19:17:27 +0300
commit5d2dae218ed7436bdd1114c80a4917f3634f0224 (patch)
tree034a497397f176cfab0b99103229e10a0038a857 /games-roguelike/zangband/files
parentsys-apps/kbd: Add ~riscv keyword (diff)
downloadgentoo-5d2dae218ed7436bdd1114c80a4917f3634f0224.tar.gz
gentoo-5d2dae218ed7436bdd1114c80a4917f3634f0224.tar.bz2
gentoo-5d2dae218ed7436bdd1114c80a4917f3634f0224.zip
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@gentoo.org>
Diffstat (limited to 'games-roguelike/zangband/files')
-rw-r--r--games-roguelike/zangband/files/zangband-2.7.4c-tinfo.patch12
1 files changed, 12 insertions, 0 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 000000000000..e9b491e070ca
--- /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],