diff options
| -rw-r--r-- | pkg/zstd/patch/0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch | 26 | ||||
| -rw-r--r-- | pkg/zstd/ver | 2 |
2 files changed, 27 insertions, 1 deletions
diff --git a/pkg/zstd/patch/0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch b/pkg/zstd/patch/0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch new file mode 100644 index 00000000..6aa02e0a --- /dev/null +++ b/pkg/zstd/patch/0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch @@ -0,0 +1,26 @@ +From 0f2837d010dce1f0a384c3ba6f54a86f39c607d5 Mon Sep 17 00:00:00 2001 +From: Dan Nelson <dnelson_1901@yahoo.com> +Date: Sat, 15 May 2021 10:20:37 -0500 +Subject: [PATCH] ZSTD_VecMask_next: fix incorrect variable name in fallback + code path + +--- + lib/compress/zstd_lazy.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c +index 3d523e84..9e13f37c 100644 +--- a/lib/compress/zstd_lazy.c ++++ b/lib/compress/zstd_lazy.c +@@ -1081,7 +1081,7 @@ static U32 ZSTD_VecMask_next(ZSTD_VecMask val) { + 0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, + 31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9 + }; +- return multiplyDeBruijnBitPosition[((U32)((v & -(int)v) * 0x077CB531U)) >> 27]; ++ return multiplyDeBruijnBitPosition[((U32)((val & -(int)val) * 0x077CB531U)) >> 27]; + # endif + } + +-- +2.31.1 + diff --git a/pkg/zstd/ver b/pkg/zstd/ver index 6f08d818..c9407383 100644 --- a/pkg/zstd/ver +++ b/pkg/zstd/ver @@ -1 +1 @@ -1.5.0 r0 +1.5.0 r1 |
