Skip to content

Commit

Permalink
net-analyzer/greenbone-security-assistant: add glibc patch in 9.0.1
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/751592
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Licht <[email protected]>
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
j-licht authored and juippis committed Jan 21, 2021
1 parent a097327 commit 783b134
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-------------------------------------------------------------------
# compatibility with glibc 2.32 version #751592
#-------------------------------------------------------------------
--- ./gsad/src/gsad.c 2020-05-13 09:22:13.000000000 +0200
+++ ./gsad/src/gsad.c 2020-10-28 13:07:25.127222254 +0100
@@ -3318,7 +3318,7 @@
{
if (termination_signal)
{
- g_debug ("Received %s signal.\n", sys_siglist[termination_signal]);
+ g_debug ("Received %s signal.\n", strsignal(termination_signal));
gsad_cleanup ();
/* Raise signal again, to exit with the correct return value. */
signal (termination_signal, SIG_DFL);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -54,6 +54,8 @@ PATCHES=(
"${FILESDIR}/${PN}-8.0.1-node.patch"
# Remove ugly uninstall-snippet that causes failing re-emerge.
"${FILESDIR}/${P}-uninstall-snippet.patch"
# Replace deprecated glibc sys_siglist with strsignal
"${FILESDIR}/${P}-glibc_siglist.patch"
)

src_prepare() {
Expand Down

0 comments on commit 783b134

Please sign in to comment.