From e89116c1b7e81a22e69e4c8b7857e71d88fcd161 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 1 May 2020 07:05:45 +0000
Subject: [PATCH] Apparently we need libtinfow for keypad() on some Linux
 distros that Cyan runs.

---
 src/conio/Common.gmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conio/Common.gmake b/src/conio/Common.gmake
index f2b6603d1f..b05581987e 100644
--- a/src/conio/Common.gmake
+++ b/src/conio/Common.gmake
@@ -1,7 +1,7 @@
 #ifeq ($(os),sunos)
 # CIOLIB-MT_LIBS		+=	$(UL_PRE)curses$(UL_SUF)
 #else
-# CIOLIB-MT_LIBS		+=	$(UL_PRE)ncursesw$(UL_SUF)
+# CIOLIB-MT_LIBS		+=	$(UL_PRE)ncursesw$(UL_SUF) $(UL_PRE)tinfow$(UL_SUF)
 #endif
 
 # OSs with vasprintf...
@@ -29,9 +29,9 @@ ifneq ($(os),win32)
   CIOLIB-MT_LIBS		+=	$(UL_PRE)curses$(UL_SUF)
  else
   ifeq ($(os),darwin)
-   CIOLIB-MT_LIBS		+=	$(UL_PRE)ncurses$(UL_SUF)
+   CIOLIB-MT_LIBS		+=	$(UL_PRE)ncurses$(UL_SUF) $(UL_PRE)tinfow$(UL_SUF)
   else
-   CIOLIB-MT_LIBS		+=	$(UL_PRE)ncursesw$(UL_SUF)
+   CIOLIB-MT_LIBS		+=	$(UL_PRE)ncursesw$(UL_SUF) $(UL_PRE)tinfow$(UL_SUF)
   endif
  endif
  ifndef NO_X
-- 
GitLab