summaryrefslogtreecommitdiffstats
path: root/audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch')
-rw-r--r--audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch b/audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch
new file mode 100644
index 0000000000..cd72309f9a
--- /dev/null
+++ b/audio/alsamixergui/alsamixergui-0.9.0.1.2-strsignal.patch
@@ -0,0 +1,13 @@
+diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx
+index c7fda51..0d17e21 100644
+--- a/src/alsamixer.cxx
++++ b/src/alsamixer.cxx
+@@ -2081,7 +2081,7 @@ static void
+ 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");