File 3007-enable-strsignal.patch of Package ceph-ceph-18.2.7

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fbab8d..2014c6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -522,7 +522,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()
openSUSE Build Service is sponsored by