diff --git a/ceph-fix-compile-error.patch b/ceph-fix-compile-error.patch new file mode 100644 index 0000000..2b66bbb --- /dev/null +++ b/ceph-fix-compile-error.patch @@ -0,0 +1,26 @@ +diff -up ceph-0.26/src/rgw/rgw_cache.h.josef ceph-0.26/src/rgw/rgw_cache.h +--- ceph-0.26/src/rgw/rgw_cache.h.josef 2011-04-05 15:19:29.364573666 -0700 ++++ ceph-0.26/src/rgw/rgw_cache.h 2011-04-05 15:20:11.946014058 -0700 +@@ -98,12 +98,12 @@ int RGWCache::obj_stat(std::string& b + bufferlist bl; + uint64_t size; + time_t mtime; ++ int64_t t; + + int r = cache.get(name, bl); + if (r == 0) { + bufferlist::iterator iter = bl.begin(); + ::decode(size, iter); +- int64_t t; + ::decode(t, iter); + mtime = (time_t)t; + goto done; +@@ -113,7 +113,7 @@ int RGWCache::obj_stat(std::string& b + return r; + bl.clear(); + ::encode(size, bl); +- int64_t t = (int64_t)mtime; ++ t = (int64_t)mtime; + ::encode(t, bl); + cache.put(name, bl); + done: