1 --- wine-0.9.28/configure.ac.orig 2006-12-22 17:17:47.000000000 +0100
2 +++ wine-0.9.28/configure.ac 2006-12-24 03:10:15.504363300 +0100
13 dnl **** Check which curses lib to use ***
15 -if test "$ac_cv_header_ncurses_h" = "yes"
16 +if test "$ac_cv_header_ncurses_h" = "yes" || test "$ac_cv_header_ncurses_ncurses_h" = "yes"
18 AC_CHECK_LIB(ncurses,waddch,[CURSESLIBS="-lncurses"])
19 elif test "$ac_cv_header_curses_h" = "yes"
20 --- wine-0.9.41/programs/wineconsole/curses.c 2007-07-13 19:46:16.000000000 +0200
21 +++ wine-0.9.41/programs/wineconsole/n.curses.c 2007-07-14 20:28:14.208118757 +0200
26 -#ifdef HAVE_NCURSES_H
27 -# include <ncurses.h>
28 +#if defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H)
29 +# include <ncurses/ncurses.h>
30 #elif defined(HAVE_CURSES_H)
35 #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES)
37 -#ifdef HAVE_NCURSES_H
38 +#if defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H)
39 # define CURSES_NAME "ncurses"
41 # define CURSES_NAME "curses"