summaryrefslogtreecommitdiffstats
path: root/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch')
-rw-r--r--meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch b/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch
new file mode 100644
index 0000000000..0009c1afe9
--- /dev/null
+++ b/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch
@@ -0,0 +1,42 @@
1# alsa-utils: Fix ncurses build failures
2# Richard Purdie <rpurdie@linux.intel.com>
3# Rebased to 1.0.23, Dongxiao Xu <dongxiao.xu@intel.com>
4
5diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in
6--- alsa-utils-1.0.23-orig/configure.in 2010-04-16 19:19:12.000000000 +0800
7+++ alsa-utils-1.0.23/configure.in 2010-06-22 15:22:06.731202478 +0800
8@@ -109,34 +109,16 @@
9 NCURSESLIBSUFFIX=""
10 CURSES_NLS="no"
11 if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then
12- AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes])
13- if test "$ncursesw5_config" = "yes"; then
14- CURSESINC="<ncurses.h>"
15- CURSESLIB=`ncursesw5-config --libs`
16- CURSESLIBDIR=`ncursesw5-config --libdir`
17- CURSES_CFLAGS=`ncursesw5-config --cflags`
18- curseslib="ncursesw"
19- else
20 AC_CHECK_LIB(ncursesw, initscr,
21 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"])
22- fi
23 if test -n "$CURSESINC"; then
24 NCURSESLIBSUFFIX="w"
25 CURSES_NLS="yes"
26 fi
27 fi
28 if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then
29- AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes])
30- if test "$ncurses5_config" = "yes"; then
31- CURSESINC="<ncurses.h>"
32- CURSESLIB=`ncurses5-config --libs`
33- CURSESLIBDIR=`ncurses5-config --libdir`
34- CURSES_CFLAGS=`ncurses5-config --cflags`
35- curseslib="ncurses"
36- else
37 AC_CHECK_LIB(ncurses, initscr,
38 [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"])
39- fi
40 fi
41 if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then
42 AC_CHECK_LIB(curses, initscr,