summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-10-28 09:21:46 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-10-28 09:51:07 +0200
commit818fd77a8996d288e413f7c6809ef27eecdb3194 (patch)
tree9fb0ef3515849c9aa282773be87ac83647ddcda1
parentnet-analyzer/gvmd: Replace deprecated sys_siglist with strsignal (diff)
downloadgentoo-818fd77a8996d288e413f7c6809ef27eecdb3194.tar.gz
gentoo-818fd77a8996d288e413f7c6809ef27eecdb3194.tar.bz2
gentoo-818fd77a8996d288e413f7c6809ef27eecdb3194.zip
net-analyzer/gvmd: add patch headers to glibc_siglist.patch
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--net-analyzer/gvmd/files/gvmd-9.0.1-glibc_siglist.patch16
1 files changed, 15 insertions, 1 deletions
diff --git a/net-analyzer/gvmd/files/gvmd-9.0.1-glibc_siglist.patch b/net-analyzer/gvmd/files/gvmd-9.0.1-glibc_siglist.patch
index 6b8ed7dfe1cd..186bd882bdd8 100644
--- a/net-analyzer/gvmd/files/gvmd-9.0.1-glibc_siglist.patch
+++ b/net-analyzer/gvmd/files/gvmd-9.0.1-glibc_siglist.patch
@@ -1,4 +1,18 @@
-# Solve Gentoo Bug 740558 : Replace deprecated sys_siglist with strsignal
+From ed07f5a23dd0644d0bbd3f2ddc1cec3b6ce922c6 Mon Sep 17 00:00:00 2001
+From: Timo Gurr <timo.gurr@gmail.com>
+Date: Tue, 1 Sep 2020 10:03:34 +0200
+Subject: [PATCH] Replace deprecated sys_siglist with strsignal
+
+Required to work with glibc >= 2.32.
+
+https://sourceware.org/pipermail/libc-announce/2020/000029.html
+
+ The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
+ are no longer available to newly linked binaries, and their declarations
+ have been removed from <string.h>. They are exported solely as
+ compatibility symbols to support old binaries. All programs should use
+ strsignal instead.
+
--- ./src/manage.c 2020-05-12 18:54:26.000000000 +0200
+++ ./src/manage.c 2020-10-27 13:32:20.423421085 +0100
@@ -3283,7 +3283,7 @@