Source: gpm Version: 1.20.4-6.1 Tags: patch
Fix non-portable SA_MASK usage for musl support.
diff -u gpm-1.20.4/debian/changelog gpm-1.20.4/debian/changelog --- gpm-1.20.4/debian/changelog +++ gpm-1.20.4/debian/changelog @@ -1,3 +1,11 @@ +gpm (1.20.4-6.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use SA_NODEFER instead of the non-standard SA_NOMASK alias. + This makes gpm compile against musl libc. + + -- <n...@port70.net> Thu, 04 Feb 2016 22:57:20 +0000 + gpm (1.20.4-6.1) unstable; urgency=low * Non-maintainer upload. only in patch2: unchanged: --- gpm-1.20.4.orig/src/lib/liblow.c +++ gpm-1.20.4/src/lib/liblow.c @@ -173,7 +173,7 @@ /* Reincarnation. Prepare for another death early. */ sigemptyset(&sa.sa_mask); sa.sa_handler = gpm_suspend_hook; - sa.sa_flags = SA_NOMASK; + sa.sa_flags = SA_NODEFER; sigaction (SIGTSTP, &sa, 0); /* Pop the gpm stack by closing the useless connection */ @@ -350,7 +350,7 @@ /* if signal was originally ignored, job control is not supported */ if (gpm_saved_suspend_hook.sa_handler != SIG_IGN) { - sa.sa_flags = SA_NOMASK; + sa.sa_flags = SA_NODEFER; sa.sa_handler = gpm_suspend_hook; sigaction(SIGTSTP, &sa, 0); }