This defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer
authorCeph Packaging Team <team+ceph@tracker.debian.org>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
committerThomas Goirand <zigo@debian.org>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
Forwarded: no
Last-Update: 2020-09-21

 exists with glibc 2.32 and all programs should use strsignal instead.

Gbp-Pq: Name enable-strsignal.patch

CMakeLists.txt

index 989ee24d20d329adc17af668782809362617ffba..2273ef73678b1e39e4ef8ae14310ddb9662a0e2f 100644 (file)
@@ -497,7 +497,7 @@ if(WITH_THREAD_SAFE_RES_QUERY)
   set(HAVE_THREAD_SAFE_RES_QUERY 1 CACHE INTERNAL "Thread safe res_query supported.")
 endif()
 
-option(WITH_REENTRANT_STRSIGNAL "strsignal is reentrant" OFF)
+option(WITH_REENTRANT_STRSIGNAL "strsignal is reentrant" ON)
 if(WITH_REENTRANT_STRSIGNAL)
   set(HAVE_REENTRANT_STRSIGNAL 1 CACHE INTERNAL "Reentrant strsignal is supported.")
 endif()