Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsamixergui/files/, media-sound/alsamixergui/
Date: Sat, 26 Dec 2020 22:18:32
Message-Id: 1609021019.ecd2764588b988e6a82ca122296ded6158bcc412.asturm@gentoo
1 commit: ecd2764588b988e6a82ca122296ded6158bcc412
2 Author: Larry Pyeatt <larry.pyeatt <AT> sdsmt <DOT> edu>
3 AuthorDate: Wed Dec 23 16:31:05 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 22:16:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd27645
7
8 media-sound/alsamixergui: strsignal patch for bug #738176
9
10 Closes: https://bugs.gentoo.org/738176
11 Suggested-by: Larry Pyeatt <larry.pyeatt <AT> sdsmt.edu>
12 Signed-off-by: Larry Pyeatt <larry.pyeatt <AT> sdsmt.edu>
13 Closes: https://github.com/gentoo/gentoo/pull/18786
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild | 1 +
17 .../files/alsamixergui-0.9.0.1.2-strsignal.patch | 13 +++++++++++++
18 2 files changed, 14 insertions(+)
19
20 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
21 index 16bb940cc17..1144c94e53b 100644
22 --- a/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
23 +++ b/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
24 @@ -27,6 +27,7 @@ PATCHES=(
25 "${FILESDIR}"/${P}-gcc34.patch
26 "${FILESDIR}"/segfault-on-exit.patch
27 "${FILESDIR}"/${P}-fltk-1.1.patch
28 + "${FILESDIR}"/${P}-strsignal.patch
29 )
30
31 src_prepare() {
32
33 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
34 new file mode 100644
35 index 00000000000..cd72309f9a0
36 --- /dev/null
37 +++ b/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-strsignal.patch
38 @@ -0,0 +1,13 @@
39 +diff --git a/src/alsamixer.cxx b/src/alsamixer.cxx
40 +index c7fda51..0d17e21 100644
41 +--- a/src/alsamixer.cxx
42 ++++ b/src/alsamixer.cxx
43 +@@ -2081,7 +2081,7 @@ static void
44 + mixer_signal_handler (int signal)
45 + {
46 + if (signal != SIGSEGV)
47 +- mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
48 ++ mixer_abort (ERR_SIGNAL, strsignal(signal), 0);
49 + else
50 + {
51 + fprintf (stderr, "\nSegmentation fault.\n");