From 13c53ae3bbde4ceb264ee6767b33c157636e4b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves?= Date: Fri, 21 Feb 2025 13:54:03 +0000 Subject: [PATCH] package/zstd: bump to version 1.5.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For release note, see: https://github.com/facebook/zstd/releases/tag/v1.5.7 This commit also removes the package patch, included in release. Signed-off-by: Nuno Gonçalves [Julien: add link to release note] Signed-off-by: Julien Olivain --- ...ix-typo-in-the-definition-of-LIB_BIN.patch | 47 ------------------- package/zstd/zstd.hash | 4 +- package/zstd/zstd.mk | 2 +- 3 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 package/zstd/0001-lib-libzstd.mk-fix-typo-in-the-definition-of-LIB_BIN.patch diff --git a/package/zstd/0001-lib-libzstd.mk-fix-typo-in-the-definition-of-LIB_BIN.patch b/package/zstd/0001-lib-libzstd.mk-fix-typo-in-the-definition-of-LIB_BIN.patch deleted file mode 100644 index 5fc930128a..0000000000 --- a/package/zstd/0001-lib-libzstd.mk-fix-typo-in-the-definition-of-LIB_BIN.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 4de25344f7c01f00d99bc467e76bc6f9b6971dd7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 13 Jul 2024 13:53:53 +0200 -Subject: [PATCH] lib/libzstd.mk: fix typo in the definition of LIB_BINDIR - -Commit f4dbfce79cb2b82fb496fcd2518ecd3315051b7d ("define LIB_SRCDIR -and LIB_BINDIR") significantly reworked the build logic, but in its -introduction of LIB_BINDIR a typo was made. - -It was introduced as such: - -+LIB_SRCDIR ?= $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) -+LIB_BINDIR ?= $(LIBSRC_DIR) - -But the definition of LIB_BINDIR has a typo: it should use -$(LIB_SRCDIR) not $(LIBSRC_DIR). - -Due to this, $(LIB_BINDIR) is empty, therefore in programs/Makefile, --L$(LIB_BINDIR) is expanded to just -L, and consequently when trying -to link the "zstd" binary with the libzstd library, it cannot find it: - -host/lib/gcc/powerpc64-buildroot-linux-gnu/13.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: cannot find -lzstd: No such file or directory - -This commit fixes the build by fixing this typo. - -Upstream: https://github.com/facebook/zstd/pull/4096 -Signed-off-by: Thomas Petazzoni ---- - lib/libzstd.mk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/libzstd.mk b/lib/libzstd.mk -index a308a6ef..c7ae2ff4 100644 ---- a/lib/libzstd.mk -+++ b/lib/libzstd.mk -@@ -22,7 +22,7 @@ LIBZSTD_MK_INCLUDED := 1 - - # By default, library's directory is same as this included makefile - LIB_SRCDIR ?= $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) --LIB_BINDIR ?= $(LIBSRC_DIR) -+LIB_BINDIR ?= $(LIB_SRCDIR) - - # ZSTD_LIB_MINIFY is a helper variable that - # configures a bunch of other variables to space-optimized defaults. --- -2.45.2 - diff --git a/package/zstd/zstd.hash b/package/zstd/zstd.hash index 8be85c356a..2cd26ffc77 100644 --- a/package/zstd/zstd.hash +++ b/package/zstd/zstd.hash @@ -1,5 +1,5 @@ -# From https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz.sha256 -sha256 8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1 zstd-1.5.6.tar.gz +# From https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.gz.sha256 +sha256 eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3 zstd-1.5.7.tar.gz # License files (locally computed) sha256 7055266497633c9025b777c78eb7235af13922117480ed5c674677adc381c9d8 LICENSE diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk index bf04b4793c..70da1e7354 100644 --- a/package/zstd/zstd.mk +++ b/package/zstd/zstd.mk @@ -4,7 +4,7 @@ # ################################################################################ -ZSTD_VERSION = 1.5.6 +ZSTD_VERSION = 1.5.7 ZSTD_SITE = https://github.com/facebook/zstd/releases/download/v$(ZSTD_VERSION) ZSTD_INSTALL_STAGING = YES ZSTD_LICENSE = BSD-3-Clause or GPL-2.0