index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch | 15 | ||||
-rw-r--r-- | community/ceph/PKGBUILD | 3 |
diff --git a/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch b/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch new file mode 100644 index 00000000..2d32720d --- /dev/null +++ b/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch @@ -0,0 +1,15 @@ +diff --git a/src/rocksdb/util/murmurhash.cc b/src/rocksdb/util/murmurhash.cc +index 334ed898ea..4d71d58908 100644 +--- a/src/rocksdb/util/murmurhash.cc ++++ b/src/rocksdb/util/murmurhash.cc +@@ -113,8 +113,8 @@ unsigned int MurmurHash2 ( const void * key, int len, unsigned int seed ) + + switch(len) + { +- case 3: h ^= data[2] << 16; +- case 2: h ^= data[1] << 8; ++ case 3: h ^= data[2] << 16; // fallthrough ++ case 2: h ^= data[1] << 8; // fallthrough + case 1: h ^= data[0]; + h *= m; + }; diff --git a/community/ceph/PKGBUILD b/community/ceph/PKGBUILD new file mode 100644 index 00000000..103d1913 --- /dev/null +++ b/community/ceph/PKGBUILD @@ -0,0 +1,3 @@ +# https://github.com/ceph/rocksdb/commit/36375de76fb2b5a43d33154d0754551b1f71544f.patch +source+=('36375de76fb2b5a43d33154d0754551b1f71544f.patch') +sha512sum+=('46b368b91c09a0a2271f60a83d7245575244d643bf39e8a2ab727fcd9e3aa4806e5f9f32565dd3d753b25cfca57116431edae6a10199fa8f8611ea3860d6a748') |