summaryrefslogtreecommitdiffstats
path: root/debian/patches/add-option-to-disable-ceph-dencoder.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/add-option-to-disable-ceph-dencoder.patch')
-rw-r--r--debian/patches/add-option-to-disable-ceph-dencoder.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/add-option-to-disable-ceph-dencoder.patch b/debian/patches/add-option-to-disable-ceph-dencoder.patch
new file mode 100644
index 00000000..a9cf2057
--- /dev/null
+++ b/debian/patches/add-option-to-disable-ceph-dencoder.patch
@@ -0,0 +1,11 @@
+Index: ceph/src/tools/CMakeLists.txt
+===================================================================
+--- ceph.orig/src/tools/CMakeLists.txt
++++ ceph/src/tools/CMakeLists.txt
+@@ -126,4 +126,6 @@ if(WITH_RBD)
+ endif()
+ endif(WITH_RBD)
+
++if(NOT DISABLE_DENCODER)
+ add_subdirectory(ceph-dencoder)
++endif(DISABLE_DENCODER)