1 --- cone-0.96.2/curses/configure.ac.orig 2017-03-09 15:52:04.000000000 +0100
2 +++ cone-0.96.2/curses/configure.ac 2018-03-22 18:47:51.458660590 +0100
4 AC_MSG_ERROR([curses library not found.])
9 + AC_CHECK_LIB($f, keypad, [CURSESLIBRARY="$CURSESLIBRARY -l$f"; break])
12 CURSESLIB="-l$CURSESLIBRARY"
15 dnl Checks for header files.
16 AC_CHECK_HEADERS(sys/time.h unistd.h sys/wait.h glob.h)
17 AC_CHECK_HEADERS(ncursesw/curses.h)
18 +AC_CHECK_HEADERS(ncurses/curses.h)
23 AC_MSG_CHECKING(for use_default_colors())
26 +#if HAVE_NCURSESW_CURSES_H
27 +#include <ncursesw/curses.h>
28 +#elif HAVE_NCURSES_CURSES_H
29 +#include <ncursesw/curses.h>
35 ], [AC_MSG_RESULT(yes)
37 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
38 #if HAVE_NCURSESW_CURSES_H
39 #include <ncursesw/curses.h>
40 +#elif HAVE_NCURSES_CURSES_H
41 +#include <ncursesw/curses.h>
45 --- cone-0.96.2/curses/cursesscreen.H.orig 2017-03-06 02:28:33.000000000 +0100
46 +++ cone-0.96.2/curses/cursesscreen.H 2018-03-22 18:48:36.601993408 +0100
49 #if HAVE_NCURSESW_CURSES_H
50 #include <ncursesw/curses.h>
51 +#if HAVE_NCURSES_CURSES_H
52 +#include <ncurses/curses.h>