diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch new file mode 100644 index 0000000000..9936dedf17 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | Rebase the patch to fit 1.0.24.2 | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
6 | |||
7 | diff -ruN alsa-utils-1.0.24.2-orig//configure.in alsa-utils-1.0.24.2/configure.in | ||
8 | --- alsa-utils-1.0.24.2-orig//configure.in 2011-04-13 13:51:20.337665010 +0800 | ||
9 | +++ alsa-utils-1.0.24.2/configure.in 2011-04-13 13:51:54.437664986 +0800 | ||
10 | @@ -127,34 +127,16 @@ | ||
11 | NCURSESLIBSUFFIX="" | ||
12 | CURSES_NLS="no" | ||
13 | if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then | ||
14 | - AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes]) | ||
15 | - if test "$ncursesw5_config" = "yes"; then | ||
16 | - CURSESINC="<ncurses.h>" | ||
17 | - CURSESLIB=`ncursesw5-config --libs` | ||
18 | - CURSESLIBDIR=`ncursesw5-config --libdir` | ||
19 | - CURSES_CFLAGS=`ncursesw5-config --cflags` | ||
20 | - curseslib="ncursesw" | ||
21 | - else | ||
22 | AC_CHECK_LIB(ncursesw, initscr, | ||
23 | [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"]) | ||
24 | - fi | ||
25 | if test -n "$CURSESINC"; then | ||
26 | NCURSESLIBSUFFIX="w" | ||
27 | CURSES_NLS="yes" | ||
28 | fi | ||
29 | fi | ||
30 | if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then | ||
31 | - AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes]) | ||
32 | - if test "$ncurses5_config" = "yes"; then | ||
33 | - CURSESINC="<ncurses.h>" | ||
34 | - CURSESLIB=`ncurses5-config --libs` | ||
35 | - CURSESLIBDIR=`ncurses5-config --libdir` | ||
36 | - CURSES_CFLAGS=`ncurses5-config --cflags` | ||
37 | - curseslib="ncurses" | ||
38 | - else | ||
39 | AC_CHECK_LIB(ncurses, initscr, | ||
40 | [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"]) | ||
41 | - fi | ||
42 | fi | ||
43 | if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then | ||
44 | AC_CHECK_LIB(curses, initscr, | ||