mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
9b906307de
a/gettext-0.21.1-x86_64-1.txz: Upgraded. a/glibc-zoneinfo-2022e-noarch-1.txz: Upgraded. This package provides the latest timezone updates. d/gettext-tools-0.21.1-x86_64-1.txz: Upgraded. l/imagemagick-7.1.0_51-x86_64-1.txz: Upgraded.
17 lines
813 B
Diff
17 lines
813 B
Diff
diff -aurN f2fs-tools-1.15.0/fsck/compress.c f2fs-tools-1.15.0-mod/fsck/compress.c
|
|
--- f2fs-tools-1.15.0/fsck/compress.c 2022-05-13 19:50:41.000000000 +0200
|
|
+++ f2fs-tools-1.15.0-mod/fsck/compress.c 2022-08-19 12:15:48.037589094 +0200
|
|
@@ -32,10 +32,10 @@
|
|
#ifdef HAVE_LIBLZ4
|
|
#define LZ4_MEMORY_USAGE 14
|
|
#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
|
|
-#ifndef LZ4_STREAMSIZE
|
|
-#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long))
|
|
+#ifndef LZ4_STREAM_MINSIZE
|
|
+#define LZ4_STREAM_MINSIZE ((1UL << LZ4_MEMORY_USAGE) + 32) /* static size, for inter-version compatibility */
|
|
#endif
|
|
-#define LZ4_MEM_COMPRESS LZ4_STREAMSIZE
|
|
+#define LZ4_MEM_COMPRESS LZ4_STREAM_MINSIZE
|
|
#define LZ4_ACCELERATION_DEFAULT 1
|
|
#define LZ4_WORK_SIZE ALIGN_UP(LZ4_MEM_COMPRESS, 8)
|
|
#endif
|