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.old 2007-07-14 22:00:49.124363079 +0200
21 +++ wine-0.9.41/programs/wineconsole/curses.c 2007-07-14 22:07:46.714791368 +0200
24 #elif defined(HAVE_CURSES_H)
26 +#elif defined(HAVE_NCURSES_NCURSES_H)
27 +# include <ncurses/ncurses.h>
29 /* avoid redefinition warnings */
33 #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES)
35 -#ifdef HAVE_NCURSES_H
36 +#if defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H)
37 # define CURSES_NAME "ncurses"
39 # define CURSES_NAME "curses"