mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
04c5d89482
* gnu/packages/storage.scm (ceph)[source]: Add patch. * gnu/packages/patches/ceph-fix-snappy-breaking-change.patch: New file. * gnu/local.mk: Add it. Signed-off-by: Marius Bakke <marius@gnu.org>
13 lines
505 B
Diff
13 lines
505 B
Diff
Patch tracked upstream at https://tracker.ceph.com/issues/50934
|
|
|
|
--- a/src/compressor/snappy/SnappyCompressor.h
|
|
+++ b/src/compressor/snappy/SnappyCompressor.h
|
|
@@ -96,7 +96,7 @@ class SnappyCompressor : public Compressor {
|
|
if (qat_enabled)
|
|
return qat_accel.decompress(p, compressed_len, dst);
|
|
#endif
|
|
- snappy::uint32 res_len = 0;
|
|
+ uint32_t res_len = 0;
|
|
BufferlistSource source_1(p, compressed_len);
|
|
if (!snappy::GetUncompressedLength(&source_1, &res_len)) {
|
|
return -1;
|