aboutsummaryrefslogtreecommitdiff
path: root/ports/zstd/fix_assert.patch
diff options
context:
space:
mode:
authorMatthieu Penant <thieum22@hotmail.com>2021-03-31 17:29:14 -0400
committerGitHub <noreply@github.com>2021-03-31 14:29:14 -0700
commit13640c56717dec1bba16c6eb0815d3889dbe1c4d (patch)
tree02461c5d438b4d0ba5f7ca5928e06ba0586bccf7 /ports/zstd/fix_assert.patch
parentf22705fd158e09d432cc23b36ed249ca99386718 (diff)
downloadvcpkg-13640c56717dec1bba16c6eb0815d3889dbe1c4d.tar.gz
vcpkg-13640c56717dec1bba16c6eb0815d3889dbe1c4d.zip
[zstd] update to 1.4.9 (#16865)
* [zstd] update to 1.4.9 Fixes #16642 Update zstd to the latest version 1.4.9: https://github.com/facebook/zstd/releases/tag/v1.4.9 * update baseline / version * Update vcpkg.json * Update vcpkg.json apply suggested diff file * attempt to fix build errors (missing file libzstd?) * Update zstd.json * Update portfile.cmake * fix version Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Diffstat (limited to 'ports/zstd/fix_assert.patch')
-rw-r--r--ports/zstd/fix_assert.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/ports/zstd/fix_assert.patch b/ports/zstd/fix_assert.patch
deleted file mode 100644
index b7fa3dc8d..000000000
--- a/ports/zstd/fix_assert.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c
-index be5c7cfc3..539190998 100644
---- a/lib/decompress/zstd_decompress.c
-+++ b/lib/decompress/zstd_decompress.c
-@@ -721,7 +721,7 @@ static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx* dctx,
- decodedSize = ZSTD_decompressLegacy(dst, dstCapacity, src, frameSize, dict, dictSize);
- if (ZSTD_isError(decodedSize)) return decodedSize;
-
-- assert(decodedSize <=- dstCapacity);
-+ assert(decodedSize <= dstCapacity);
- dst = (BYTE*)dst + decodedSize;
- dstCapacity -= decodedSize;
-