$OpenBSD: patch-TiMidity++-2_13_2_configure,v 1.1 2006/01/30 10:13:11 jsg Exp $
--- TiMidity++-2.13.2/configure.orig	Sun Oct  3 22:39:51 2004
+++ TiMidity++-2.13.2/configure	Sat Jan 21 01:07:46 2006
@@ -16190,7 +16190,7 @@ if test "${ac_cv_lib_slang_SLang_init_tt
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lslang  $LIBS"
+LIBS="-lslang  -ltermcap $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -16426,13 +16426,13 @@ else
   ENABLE_SLANG_FALSE=
 fi
 
-   LIBS="$LIBS -lslang"
+   LIBS="$LIBS -lslang -ltermcap"
     INTERFACE_SRCS="$INTERFACE_SRCS slang_c.c"
 
   ;;
 xdynamic)
   dynamic_targets="$dynamic_targets interface_s.\$(so)"
-   s_so_libs="-lslang"
+   s_so_libs="-lslang -ltermcap"
     echo "$as_me:$LINENO: checking for initscr in -ltermcap" >&5
 echo $ECHO_N "checking for initscr in -ltermcap... $ECHO_C" >&6
 if test "${ac_cv_lib_termcap_initscr+set}" = set; then
