diff options
Diffstat (limited to 'pkgs/tools/filesystems/ceph/fix-pgrefdebugging.patch')
-rw-r--r-- | pkgs/tools/filesystems/ceph/fix-pgrefdebugging.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/ceph/fix-pgrefdebugging.patch b/pkgs/tools/filesystems/ceph/fix-pgrefdebugging.patch new file mode 100644 index 00000000000..4d13a0572d8 --- /dev/null +++ b/pkgs/tools/filesystems/ceph/fix-pgrefdebugging.patch @@ -0,0 +1,17 @@ +diff --git a/configure.ac b/configure.ac +index 38ab682..febb58e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -541,8 +541,10 @@ fi + #set pg ref debugging? + AC_ARG_ENABLE([pgrefdebugging], + [AS_HELP_STRING([--enable-pgrefdebugging], [enable pg ref debugging])], +- [AC_DEFINE([PG_DEBUG_REFS], [1], [Defined if you want pg ref debugging])], +- []) ++ [], [enable_pgrefdebugging=no]) ++AS_IF([test "x$enable_pgrefdebugging" = "xyes"], ++ [AC_DEFINE([PG_DEBUG_REFS], [1], [Defined if you want pg ref debugging])], ++ []) + + # + # Java is painful |