7f153b1ee9be0ad0099d8ae793fdf991eb7c48db
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / wine / 0002-detect-ncursesw.patch
1 Detect libncursesw as well.
2 Backport from upstream 8d4e1fa7d77636a88651c9d48a48d39fab931c49
3
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5
6 diff -Nura wine-1.6.2.orig/configure.ac wine-1.6.2/configure.ac
7 --- wine-1.6.2.orig/configure.ac        2015-05-01 09:24:24.741960685 -0300
8 +++ wine-1.6.2/configure.ac     2015-05-01 09:25:26.860069750 -0300
9 @@ -1359,7 +1359,7 @@
10  CURSESLIBS=""
11  if test "$ac_cv_header_ncurses_h" = "yes"
12  then
13 -    WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"])
14 +    WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"],,,[[libncursesw\\{0,1\\}]])
15  elif test "$ac_cv_header_curses_h" = "yes"
16  then
17      WINE_CHECK_SONAME(curses,waddch,[CURSESLIBS="-lcurses"])