diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-23 23:50:09 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-23 23:50:09 +0100 |
commit | 362d3886f52d6d4bae57adf81b7dcbd846217dd1 (patch) | |
tree | 3d6cd3c03c7e2fb174d0dd89264cb0d298015fff /meta | |
parent | 4e3afe59683350983aa7ffece47e75c828f181d2 (diff) | |
download | poky-362d3886f52d6d4bae57adf81b7dcbd846217dd1.tar.gz |
alsa-utils: Fix ncurses build failures
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/alsa/alsa-utils/ncursesfix.patch | 33 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-utils_1.0.20.bb | 4 |
2 files changed, 36 insertions, 1 deletions
diff --git a/meta/packages/alsa/alsa-utils/ncursesfix.patch b/meta/packages/alsa/alsa-utils/ncursesfix.patch new file mode 100644 index 0000000000..fa1b138261 --- /dev/null +++ b/meta/packages/alsa/alsa-utils/ncursesfix.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Index: alsa-utils-1.0.20/configure.in | ||
2 | =================================================================== | ||
3 | --- alsa-utils-1.0.20.orig/configure.in 2009-05-23 23:37:02.000000000 +0100 | ||
4 | +++ alsa-utils-1.0.20/configure.in 2009-05-23 23:37:24.000000000 +0100 | ||
5 | @@ -106,28 +106,12 @@ | ||
6 | curseslib="$withval", | ||
7 | curseslib="auto") | ||
8 | if test "$curseslib" = "ncursesw"; then | ||
9 | - AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes]) | ||
10 | - if test "$ncursesw5_config" = "yes"; then | ||
11 | - CURSESINC="<ncurses.h>" | ||
12 | - CURSESLIB=`ncursesw5-config --libs` | ||
13 | - CURSES_CFLAGS=`ncursesw5-config --cflags` | ||
14 | - curseslib="ncursesw" | ||
15 | - else | ||
16 | AC_CHECK_LIB(ncursesw, initscr, | ||
17 | [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"]) | ||
18 | - fi | ||
19 | fi | ||
20 | if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then | ||
21 | - AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes]) | ||
22 | - if test "$ncurses5_config" = "yes"; then | ||
23 | - CURSESINC="<ncurses.h>" | ||
24 | - CURSESLIB=`ncurses5-config --libs` | ||
25 | - CURSES_CFLAGS=`ncurses5-config --cflags` | ||
26 | - curseslib="ncurses" | ||
27 | - else | ||
28 | AC_CHECK_LIB(ncurses, initscr, | ||
29 | [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"]) | ||
30 | - fi | ||
31 | fi | ||
32 | if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then | ||
33 | AC_CHECK_LIB(curses, initscr, | ||
diff --git a/meta/packages/alsa/alsa-utils_1.0.20.bb b/meta/packages/alsa/alsa-utils_1.0.20.bb index d6cade20f7..7fe0250502 100644 --- a/meta/packages/alsa/alsa-utils_1.0.20.bb +++ b/meta/packages/alsa/alsa-utils_1.0.20.bb | |||
@@ -3,8 +3,10 @@ HOMEPAGE = "http://www.alsa-project.org" | |||
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | DEPENDS = "alsa-lib ncurses" | 5 | DEPENDS = "alsa-lib ncurses" |
6 | PR = "r1" | ||
6 | 7 | ||
7 | SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2" | 8 | SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ |
9 | file://ncursesfix.patch;patch=1 " | ||
8 | 10 | ||
9 | # lazy hack. needs proper fixing in gettext.m4, see | 11 | # lazy hack. needs proper fixing in gettext.m4, see |
10 | # http://bugs.openembedded.org/show_bug.cgi?id=2348 | 12 | # http://bugs.openembedded.org/show_bug.cgi?id=2348 |