aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/ncurses.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-24 14:10:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-24 14:10:50 +0000
commit2aa1d10d4130b7e0a967f9ace1972be1994ff7a6 (patch)
tree9d673fecd6cce14bd3277bc4c57c56da99add926 /main/qemu/ncurses.patch
parent792db2a65552e03dd9d04925bd52456b622b4e23 (diff)
downloadaports-2aa1d10d4130b7e0a967f9ace1972be1994ff7a6.tar.bz2
aports-2aa1d10d4130b7e0a967f9ace1972be1994ff7a6.tar.xz
main/qemu: enable ncurses again
Diffstat (limited to 'main/qemu/ncurses.patch')
-rw-r--r--main/qemu/ncurses.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/qemu/ncurses.patch b/main/qemu/ncurses.patch
new file mode 100644
index 0000000000..2e9eb2a90d
--- /dev/null
+++ b/main/qemu/ncurses.patch
@@ -0,0 +1,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