]> git.pld-linux.org Git - packages/wine.git/blob - wine-ncurses.patch
- up to 0.9.41
[packages/wine.git] / wine-ncurses.patch
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 @@
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 \
11 @@ -519,7 +520,7 @@
12  
13  dnl **** Check which curses lib to use ***
14  CURSESLIBS=""
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"
17  then
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
22 @@ -35,8 +35,8 @@
23  #include <stdio.h>
24  #include <stdarg.h>
25  #include <stdlib.h>
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)
31  # include <curses.h>
32  #endif
33 @@ -62,7 +62,7 @@
34  
35  #if defined(SONAME_LIBCURSES) || defined(SONAME_LIBNCURSES)
36  
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"
40  #else
41  # define CURSES_NAME "curses"
This page took 0.049089 seconds and 4 git commands to generate.