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"
40 --- wine-1.3.13/dlls/kernel32/term.c~ 2011-02-04 20:06:51.000000000 +0100
41 +++ wine-1.3.13/dlls/kernel32/term.c 2011-02-05 16:25:43.627060372 +0100
44 #elif defined(HAVE_CURSES_H)
46 +#elif defined(HAVE_NCURSES_NCURSES_H)
47 +# include <ncurses/ncurses.h>
49 /* avoid redefinition warnings */
53 #if defined(HAVE_CURSES_H) || defined(HAVE_NCURSES_H)
55 +#elif defined(HAVE_NCURSES_NCURSES_H)
56 +#include <ncurses/term.h>
62 #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES)
64 -#ifdef HAVE_NCURSES_H
65 +#ifdef HAVE_NCURSES_H || defined(HAVE_NCURSES_NCURSES_H)
66 # define CURSES_NAME "ncurses"
68 # define CURSES_NAME "curses"
69 diff -urN wine-1.4.1.org/configure.ac wine-1.4.1/configure.ac
70 --- wine-1.4.1.org/configure.ac 2012-06-15 21:17:00.000000000 +0200
71 +++ wine-1.4.1/configure.ac 2013-06-13 17:34:25.210134842 +0200
73 if test "$ac_cv_header_ncurses_h" = "yes"
75 WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"])
76 + if test "x$ac_cv_lib_soname_ncurses" = "x"; then
77 + WINE_CHECK_SONAME(ncursesw,waddch,[CURSESLIBS="-lncursesw"])
79 elif test "$ac_cv_header_curses_h" = "yes"
81 WINE_CHECK_SONAME(curses,waddch,[CURSESLIBS="-lcurses"])
83 LIBS="$LIBS $CURSESLIBS"
84 AC_CHECK_FUNCS(mousemask)
86 -WINE_NOTICE_WITH(curses,[test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"],
87 - [lib(n)curses ${notice_platform}development files not found, curses won't be supported.])
88 +WINE_NOTICE_WITH(curses,[test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses$ac_cv_lib_soname_ncursesw" = "x"],
89 + [lib(n)curses(w) ${notice_platform}development files not found, curses won't be supported.])
91 dnl **** Check for SANE ****
92 if test "x$with_sane" != "xno"