File 0013-44112.patch of Package ceph-ceph-15.2.17

diff --git a/src/mgr/CMakeLists.txt b/src/mgr/CMakeLists.txt
index f6f9e73d433..35e263895c1 100644
--- a/src/mgr/CMakeLists.txt
+++ b/src/mgr/CMakeLists.txt
@@ -30,6 +30,7 @@ if(WITH_MGR)
     mgr_commands.cc
     $<TARGET_OBJECTS:mgr_cap_obj>)
   add_executable(ceph-mgr ${mgr_srcs})
+  target_compile_definitions(ceph-mgr PRIVATE PY_SSIZE_T_CLEAN)
   target_link_libraries(ceph-mgr
     osdc client heap_profiler
     global-static ceph-common
openSUSE Build Service is sponsored by