b077e9
diff -ru gcal-4.1.orig/configure gcal-4.1/configure
b077e9
--- gcal-4.1.orig/configure	2017-01-22 18:09:59.000000000 +0100
b077e9
+++ gcal-4.1/configure	2023-01-31 14:35:28.553255306 +0100
b077e9
@@ -8769,7 +8769,7 @@
b077e9
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
b077e9
 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
b077e9
 if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
b077e9
-  TTYLIBS="-lncurses"
b077e9
+  TTYLIBS="-lncurses -ltinfo"
b077e9
 fi
b077e9
 
b077e9
   if test -z "$TTYLIBS"; then