This defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer
authorCeph Packaging Team <team+ceph@tracker.debian.org>
Wed, 4 Dec 2024 05:46:17 +0000 (06:46 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 4 Dec 2024 05:46:17 +0000 (06:46 +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 648f6cec187554e1f73242bd38c6a7f6bb48d857..3b699e5afcc9b5badcbaf0eee4b1b67997b2a13a 100644 (file)
@@ -505,7 +505,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()