public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/alsamixergui/files/, media-sound/alsamixergui/
@ 2020-12-26 22:18 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2020-12-26 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     ecd2764588b988e6a82ca122296ded6158bcc412
Author:     Larry Pyeatt <larry.pyeatt <AT> sdsmt <DOT> edu>
AuthorDate: Wed Dec 23 16:31:05 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 22:16:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd27645

media-sound/alsamixergui: strsignal patch for bug #738176

Closes: https://bugs.gentoo.org/738176
Suggested-by: Larry Pyeatt <larry.pyeatt <AT> sdsmt.edu>
Signed-off-by:  Larry Pyeatt <larry.pyeatt <AT> sdsmt.edu>
Closes: https://github.com/gentoo/gentoo/pull/18786
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild   |  1 +
 .../files/alsamixergui-0.9.0.1.2-strsignal.patch            | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild b/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
index 16bb940cc17..1144c94e53b 100644
--- a/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
+++ b/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
@@ -27,6 +27,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-gcc34.patch
 	"${FILESDIR}"/segfault-on-exit.patch
 	"${FILESDIR}"/${P}-fltk-1.1.patch
+	"${FILESDIR}"/${P}-strsignal.patch
 )
 
 src_prepare() {

diff --git a/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-strsignal.patch b/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-strsignal.patch
new file mode 100644
index 00000000000..cd72309f9a0
--- /dev/null
+++ b/media-sound/alsamixergui/files/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");


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-26 22:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-26 22:18 [gentoo-commits] repo/gentoo:master commit in: media-sound/alsamixergui/files/, media-sound/alsamixergui/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox