diff --git a/pkg/zstd/gen.lua b/pkg/zstd/gen.lua index 405ccccf..cc41abff 100644 --- a/pkg/zstd/gen.lua +++ b/pkg/zstd/gen.lua @@ -39,6 +39,7 @@ lib('libzstd.a', [[lib/( ) decompress/( huf_decompress.c + huf_decompress_amd64.S zstd_ddict.c zstd_decompress.c zstd_decompress_block.c @@ -46,7 +47,7 @@ lib('libzstd.a', [[lib/( )]]) exe('zstd', [[ - programs/(zstdcli.c util.c timefn.c fileio.c) + programs/(zstdcli.c util.c timefn.c fileio.c fileio_asyncio.c) libzstd.a ]]) file('bin/zstd', '755', '$outdir/zstd') 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 deleted file mode 100644 index 6aa02e0a..00000000 --- a/pkg/zstd/patch/0002-ZSTD_VecMask_next-fix-incorrect-variable-name-in-fal.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0f2837d010dce1f0a384c3ba6f54a86f39c607d5 Mon Sep 17 00:00:00 2001 -From: Dan Nelson -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/src b/pkg/zstd/src index a488ba11..794ea1b0 160000 --- a/pkg/zstd/src +++ b/pkg/zstd/src @@ -1 +1 @@ -Subproject commit a488ba114ec17ea1054b9057c26a046fc122b3b6 +Subproject commit 794ea1b0afca0f020f4e57b6732332231fb23c70 diff --git a/pkg/zstd/ver b/pkg/zstd/ver index c9407383..f85218f8 100644 --- a/pkg/zstd/ver +++ b/pkg/zstd/ver @@ -1 +1 @@ -1.5.0 r1 +1.5.6 r0