This defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer
authorCeph Packaging Team <team+ceph@tracker.debian.org>
Fri, 14 Jan 2022 09:50:50 +0000 (09:50 +0000)
committerThomas Goirand <zigo@debian.org>
Fri, 14 Jan 2022 09:50:50 +0000 (09:50 +0000)
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 5253399df5c584c0044f041930a5679243dce175..d4029252dcbb5884063da7a6dbf68d42e3ee1bdd 100644 (file)
@@ -501,7 +501,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()