summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/zstd/package.sh4
-rw-r--r--Ports/zstd/patches/fix_soname_flags.patch4
-rw-r--r--Ports/zstd/patches/posix-compliance.patch4
4 files changed, 7 insertions, 7 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 0f1f60eec3..97c93a0fd6 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -208,4 +208,4 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`yasm`](yasm/) | Yasm Modular Assembler | 1.3.0 | https://yasm.tortall.net/ |
| [`zlib`](zlib/) | zlib | 1.2.11 | https://www.zlib.net/ |
| [`zsh`](zsh/) | Z Shell (Zsh) | 5.8 | https://www.zsh.org |
-| [`zstd`](zstd/) | Zstandard | 1.5.1 | https://facebook.github.io/zstd/ |
+| [`zstd`](zstd/) | Zstandard | 1.5.2 | https://facebook.github.io/zstd/ |
diff --git a/Ports/zstd/package.sh b/Ports/zstd/package.sh
index 63433b1432..b7dd878668 100755
--- a/Ports/zstd/package.sh
+++ b/Ports/zstd/package.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=zstd
-version=1.5.1
-files="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz zstd-${version}.tar.gz e28b2f2ed5710ea0d3a1ecac3f6a947a016b972b9dd30242369010e5f53d7002"
+version=1.5.2
+files="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz zstd-${version}.tar.gz 7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0"
auth_type=sha256
diff --git a/Ports/zstd/patches/fix_soname_flags.patch b/Ports/zstd/patches/fix_soname_flags.patch
index 92a239f4f0..232275d8d7 100644
--- a/Ports/zstd/patches/fix_soname_flags.patch
+++ b/Ports/zstd/patches/fix_soname_flags.patch
@@ -1,5 +1,5 @@
---- zstd-1.5.1/lib/Makefile.orig 2022-01-08 01:21:29.874503163 +0000
-+++ zstd-1.5.1/lib/Makefile 2022-01-08 01:21:43.026368517 +0000
+--- zstd-1.5.2/lib/Makefile.orig 2022-01-08 01:21:29.874503163 +0000
++++ zstd-1.5.2/lib/Makefile 2022-01-08 01:21:43.026368517 +0000
@@ -69,22 +69,10 @@
# macOS linker doesn't support -soname, and use different extension
diff --git a/Ports/zstd/patches/posix-compliance.patch b/Ports/zstd/patches/posix-compliance.patch
index e6444876d4..a2eb1a4862 100644
--- a/Ports/zstd/patches/posix-compliance.patch
+++ b/Ports/zstd/patches/posix-compliance.patch
@@ -1,5 +1,5 @@
---- zstd-1.5.1/programs/platform.h.orig 2022-01-08 01:30:53.468728340 +0000
-+++ zstd-1.5.1/programs/platform.h 2022-01-08 01:31:01.480646197 +0000
+--- zstd-1.5.2/programs/platform.h.orig 2022-01-08 01:30:53.468728340 +0000
++++ zstd-1.5.2/programs/platform.h 2022-01-08 01:31:01.480646197 +0000
@@ -98,7 +98,11 @@
# endif
# include <unistd.h> /* declares _POSIX_VERSION */