summaryrefslogblamecommitdiff
path: root/user/qemu/ncurses.patch
blob: 2e9eb2a90d728e0c886fe1a3ea42309788382e6c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13











                                                                                                                 
diff --git a/configure b/configure
index 3770d7c..3fe8281 100755
--- a/configure
+++ b/configure
@@ -2928,7 +2928,7 @@ if test "$curses" != "no" ; then
     curses_inc_list="$($pkg_config --cflags ncurses 2>/dev/null):"
     curses_lib_list="$($pkg_config --libs ncurses 2>/dev/null):-lpdcurses"
   else
-    curses_inc_list="$($pkg_config --cflags ncursesw 2>/dev/null):-I/usr/include/ncursesw:"
+    curses_inc_list="-DNCURSES_WIDECHAR=1 $($pkg_config --cflags ncursesw 2>/dev/null):-I/usr/include/ncursesw:"
     curses_lib_list="$($pkg_config --libs ncursesw 2>/dev/null):-lncursesw:-lcursesw"
   fi
   curses_found=no