Commit c5cdb8a6 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

wine: fix build breakage with ncursesw

The configure script doesn't detect ncursesw at all hence breaks the
build. Backport a patch from upstream for this. Fixes:
http://autobuild.buildroot.net/results/426/42669ca3b7215765a59a85c53ed724cbff79384e/



Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 9238795c
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
Detect libncursesw as well.
Backport from upstream 8d4e1fa7d77636a88651c9d48a48d39fab931c49

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura wine-1.6.2.orig/configure.ac wine-1.6.2/configure.ac
--- wine-1.6.2.orig/configure.ac	2015-05-01 09:24:24.741960685 -0300
+++ wine-1.6.2/configure.ac	2015-05-01 09:25:26.860069750 -0300
@@ -1359,7 +1359,7 @@
 CURSESLIBS=""
 if test "$ac_cv_header_ncurses_h" = "yes"
 then
-    WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"])
+    WINE_CHECK_SONAME(ncurses,waddch,[CURSESLIBS="-lncurses"],,,[[libncursesw\\{0,1\\}]])
 elif test "$ac_cv_header_curses_h" = "yes"
 then
     WINE_CHECK_SONAME(curses,waddch,[CURSESLIBS="-lcurses"])
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ WINE_SITE = http://downloads.sourceforge.net/project/wine/Source
WINE_LICENSE = LGPLv2.1+
WINE_LICENSE_FILES = COPYING.LIB LICENSE
WINE_DEPENDENCIES = host-bison host-flex host-wine
# For 0002-detect-ncursesw.patch
WINE_AUTORECONF = YES

# Wine needs its own directory structure and tools for cross compiling
WINE_CONF_OPTS = \