summaryrefslogtreecommitdiffstats
path: root/debian/patches/enable-strsignal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/enable-strsignal.patch')
-rw-r--r--debian/patches/enable-strsignal.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/enable-strsignal.patch b/debian/patches/enable-strsignal.patch
new file mode 100644
index 000000000..dacd6ded0
--- /dev/null
+++ b/debian/patches/enable-strsignal.patch
@@ -0,0 +1,18 @@
+Description: This defines HAVE_REENTRANT_STRSIGNAL as sys_siglist no longer
+ exists with glibc 2.32 and all programs should use strsignal instead.
+Forwarded: no
+Last-Update: 2020-09-21
+
+Index: ceph/CMakeLists.txt
+===================================================================
+--- ceph.orig/CMakeLists.txt
++++ ceph/CMakeLists.txt
+@@ -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()