Package: alsamixergui
Version: 0.9.0rc2-1-10
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
X-Debbugs-Cc: lo...@ubuntu.com

Hi,

alsamixergui FTBFS against glibc 2.32, which is the version used in the
development version of Ubuntu (and probably will be in Debian soon as
well).

This is because it uses sys_siglist, which was removed in 2.32.

In Ubuntu, the attached patch was applied to achieve the following:

  * src/alsamixer.cxx: Fix FTBFS against glibc 2.32 by using strsignal()
    instead of sys_siglist.

Thanks for considering the patch.

Logan
diff -u alsamixergui-0.9.0rc2-1/src/alsamixer.cxx 
alsamixergui-0.9.0rc2-1/src/alsamixer.cxx
--- alsamixergui-0.9.0rc2-1/src/alsamixer.cxx
+++ alsamixergui-0.9.0rc2-1/src/alsamixer.cxx
@@ -2086,7 +2086,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");

Reply via email to