ceph-dev: Fix for i686-linux

This commit is contained in:
William A. Kennington III 2015-09-11 15:05:55 -07:00
parent cb2fcd412a
commit 476b70c39c
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 1213dde3d207d0d91ccecfca4dd6af1bdee0ed65 Mon Sep 17 00:00:00 2001
From: Kefu Chai <kchai@redhat.com>
Date: Fri, 17 Jul 2015 01:12:03 +0800
Subject: [PATCH] cls: fix the build on i386
this is a leftover of 0dae022
Signed-off-by: Kefu Chai <kchai@redhat.com>
---
src/cls/cephfs/cls_cephfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cls/cephfs/cls_cephfs.h b/src/cls/cephfs/cls_cephfs.h
index 3cee0db..d4a5f23 100644
--- a/src/cls/cephfs/cls_cephfs.h
+++ b/src/cls/cephfs/cls_cephfs.h
@@ -118,7 +118,7 @@ class AccumulateResult
// Largest object seen
uint64_t max_obj_size;
// Highest mtime seen
- time_t max_mtime;
+ int64_t max_mtime;
AccumulateResult()
: ceiling_obj_index(0), ceiling_obj_size(0), max_obj_size(0), max_mtime(0)

View File

@ -9,5 +9,8 @@ callPackage ./generic.nix (args // rec {
sha256 = "08ccy735srzmi505qlrpqdh5js40mpd5k1vdhnysknra0vqlpmdx";
};
patches = [ ./fix-pythonpath.patch ];
patches = [
./fix-pythonpath.patch
./9.0.3-i686-fix.patch
];
})