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");
