commit:     783b1340e4d8f2f82960e52a1d001c6329612427
Author:     Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Thu Jan  7 17:08:25 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 07:08:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783b1340

net-analyzer/greenbone-security-assistant: add glibc patch in 9.0.1

Bug: https://bugs.gentoo.org/751592
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../greenbone-security-assistant-9.0.1-glibc_siglist.patch | 14 ++++++++++++++
 .../greenbone-security-assistant-9.0.1.ebuild              |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git 
a/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-9.0.1-glibc_siglist.patch
 
b/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-9.0.1-glibc_siglist.patch
new file mode 100644
index 00000000000..f9f587c96c8
--- /dev/null
+++ 
b/net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-9.0.1-glibc_siglist.patch
@@ -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);

diff --git 
a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-9.0.1.ebuild
 
b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-9.0.1.ebuild
index 552948dc9d4..a0621ef2652 100644
--- 
a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-9.0.1.ebuild
+++ 
b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-9.0.1.ebuild
@@ -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
@@ -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() {

Reply via email to