From 7d12b90d4daddea6ee18ce40da8ade6693057c14 Mon Sep 17 00:00:00 2001
From: Valentin Volkl <valentin.volkl@cern.ch>
Date: Thu, 22 Apr 2021 07:24:28 +0200
Subject: [PATCH] replace sys_siglist (deprecated) with strsignal to allow
 build with newer glibc (> 2.32)

See https://sourceware.org/glibc/wiki/Release/2.32#Deprectation_sys_siglist.2C__sys_siglist.2C_sys_sigabbrev
---
 GaudiUtils/src/component/SignalMonitorSvc.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GaudiUtils/src/component/SignalMonitorSvc.cpp b/GaudiUtils/src/component/SignalMonitorSvc.cpp
index 130835154a..3f21cc7104 100644
--- a/GaudiUtils/src/component/SignalMonitorSvc.cpp
+++ b/GaudiUtils/src/component/SignalMonitorSvc.cpp
@@ -18,7 +18,7 @@
 #include "GaudiUtils/ISignalMonitor.h"
 
 #include <csignal>
-
+#include <cstring>
 #include <iostream>
 
 namespace Gaudi {
@@ -202,7 +202,7 @@ namespace {
       return 0;
     }
 #else
-    return sys_siglist[signum];
+    return strsignal( signum );
 #endif
   }
 
-- 
GitLab