From eeb51b853fc1c0ee24f3643cdd66d936fe36c291 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Tue, 6 Sep 2005 19:58:08 +0000 Subject: alsa-utils: alsamixer.c is patched to use strsignal not sys_siglist This allows alsa-utils to build on uclibc --- packages/alsa/files/.mtn2git_empty | 0 packages/alsa/files/alsa-utils-sys-siglist.patch | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 packages/alsa/files/.mtn2git_empty create mode 100644 packages/alsa/files/alsa-utils-sys-siglist.patch (limited to 'packages/alsa/files') diff --git a/packages/alsa/files/.mtn2git_empty b/packages/alsa/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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"); -- cgit v1.2.3