]>
Commit | Line | Data |
---|---|---|
83204ca1 KK |
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 | |
3 | @@ -194,6 +194,7 @@ | |
55cd00fd | 4 | machine/soundcard.h \ |
5 | mntent.h \ | |
6 | ncurses.h \ | |
7 | + ncurses/ncurses.h \ | |
8 | netdb.h \ | |
9 | netinet/in.h \ | |
10 | netinet/in_systm.h \ | |
83204ca1 KK |
11 | @@ -519,7 +520,7 @@ |
12 | ||
13 | dnl **** Check which curses lib to use *** | |
55cd00fd | 14 | CURSESLIBS="" |
83204ca1 KK |
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" | |
55cd00fd | 17 | then |
83204ca1 KK |
18 | AC_CHECK_LIB(ncurses,waddch,[CURSESLIBS="-lncurses"]) |
19 | elif test "$ac_cv_header_curses_h" = "yes" | |
25386ae9 | 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 | |
22 | @@ -39,6 +39,8 @@ | |
23 | # include <ncurses.h> | |
55cd00fd | 24 | #elif defined(HAVE_CURSES_H) |
25 | # include <curses.h> | |
25386ae9 | 26 | +#elif defined(HAVE_NCURSES_NCURSES_H) |
27 | +# include <ncurses/ncurses.h> | |
55cd00fd | 28 | #endif |
25386ae9 | 29 | /* avoid redefinition warnings */ |
30 | #undef KEY_EVENT | |
31 | @@ -62,7 +64,7 @@ | |
55cd00fd | 32 | |
0d46bf62 | 33 | #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES) |
55cd00fd | 34 | |
35 | -#ifdef HAVE_NCURSES_H | |
25386ae9 | 36 | +#if defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H) |
55cd00fd | 37 | # define CURSES_NAME "ncurses" |
38 | #else | |
39 | # define CURSES_NAME "curses" |