From 783b1340e4d8f2f82960e52a1d001c6329612427 Mon Sep 17 00:00:00 2001 From: Jonas Licht Date: Thu, 7 Jan 2021 18:08:25 +0100 Subject: 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 Signed-off-by: Joonas Niilola --- .../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(-) create mode 100644 net-analyzer/greenbone-security-assistant/files/greenbone-security-assistant-9.0.1-glibc_siglist.patch (limited to 'net-analyzer') 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 000000000000..f9f587c96c8c --- /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 552948dc9d4f..a0621ef26527 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() { -- cgit v1.2.3-65-gdbad