diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2005-09-06 19:58:08 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-06 19:58:08 +0000 |
commit | eeb51b853fc1c0ee24f3643cdd66d936fe36c291 (patch) | |
tree | 9b47b8ef8fb7ece49cafe5e1556ad744a629239a /packages/alsa | |
parent | a193b9261c45c31fe362567ffb3879a424d6cafb (diff) |
alsa-utils: alsamixer.c is patched to use strsignal not sys_siglist
This allows alsa-utils to build on uclibc
Diffstat (limited to 'packages/alsa')
-rw-r--r-- | packages/alsa/alsa-utils_1.0.8.bb | 3 | ||||
-rw-r--r-- | packages/alsa/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/alsa/files/alsa-utils-sys-siglist.patch | 15 |
3 files changed, 17 insertions, 1 deletions
diff --git a/packages/alsa/alsa-utils_1.0.8.bb b/packages/alsa/alsa-utils_1.0.8.bb index ca9a52e58a..8e8297c85b 100644 --- a/packages/alsa/alsa-utils_1.0.8.bb +++ b/packages/alsa/alsa-utils_1.0.8.bb @@ -3,9 +3,10 @@ MAINTAINER = "Lorn Potter <lpotter@trolltech.com>" SECTION = "console/utils" LICENSE = "GPL" DEPENDS = "alsa-lib ncurses" -PR = "r2" +PR = "r3" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2" +SRC_URI += "file://alsa-utils-sys-siglist.patch;patch=108" inherit autotools diff --git a/packages/alsa/files/.mtn2git_empty b/packages/alsa/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/alsa/files/.mtn2git_empty diff --git a/packages/alsa/files/alsa-utils-sys-siglist.patch b/packages/alsa/files/alsa-utils-sys-siglist.patch new file mode 100644 index 0000000000..8c499e8d63 --- /dev/null +++ b/packages/alsa/files/alsa-utils-sys-siglist.patch @@ -0,0 +1,15 @@ +sys_siglist is not supported by default on uclibc and is, in general, +a bad thing for the same reasons as sys_errlist is a bad thing. GNU +supports strsignal in the manner of strerror + +--- alsa-utils-1.0.8/alsamixer/alsamixer.c.orig 2005-09-06 12:44:41.415219126 -0700 ++++ alsa-utils-1.0.8/alsamixer/alsamixer.c 2005-09-06 12:44:43.407344482 -0700 +@@ -2188,7 +2188,7 @@ + mixer_signal_handler (int signal) + { + if (signal != SIGSEGV) +- mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); ++ mixer_abort (ERR_SIGNAL, strsignal(signal), 0); + else + { + fprintf (stderr, "\nSegmentation fault.\n"); |