summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/zstd/Makefile4
-rw-r--r--archivers/zstd/distinfo12
-rw-r--r--archivers/zstd/patches/patch-Makefile10
-rw-r--r--archivers/zstd/patches/patch-lib_Makefile18
4 files changed, 22 insertions, 22 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 03e5092e038..dd05b0a84d0 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2021/06/03 06:54:59 nia Exp $
+# $NetBSD: Makefile,v 1.44 2022/01/19 06:02:25 adam Exp $
-DISTNAME= zstd-1.5.0
+DISTNAME= zstd-1.5.1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 76eb7f02df2..4f2be99f546 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.31 2021/10/26 09:57:20 nia Exp $
+$NetBSD: distinfo,v 1.32 2022/01/19 06:02:25 adam Exp $
-BLAKE2s (zstd-1.5.0.tar.gz) = 1bc6226fc378a3748af6f146efa73ace559aa241610c50b6c6bc8317e77e9c87
-SHA512 (zstd-1.5.0.tar.gz) = 25b657529a698eec891f92ff4a085d1fd95d2ff938ce52c8a4ff6163eb0b668ec642dd09e0db190652638cd92371006afa01d8e437437762c4097ad301675c33
-Size (zstd-1.5.0.tar.gz) = 1867111 bytes
-SHA1 (patch-Makefile) = b7e72910488e946971cde5ad2fac6a6134dbd70b
-SHA1 (patch-lib_Makefile) = 2475241f1f75d353bf6deeccb4f391cd6626aed2
+BLAKE2s (zstd-1.5.1.tar.gz) = 8604f0079f774e0af41635e9a734efcb5e41382ee21a2ac5a34c996594273223
+SHA512 (zstd-1.5.1.tar.gz) = ed8ea0143b7bbd85afdcc8f95d44589a0903cff8375059836ebe577cc4b3ea49c0c756db6a3649655e478377f48b3120ef87dc768fd449bd4bfac786209bfd31
+Size (zstd-1.5.1.tar.gz) = 1948539 bytes
+SHA1 (patch-Makefile) = 35159f44eb1d212395a53a27de60d3d1a5d3d014
+SHA1 (patch-lib_Makefile) = b04f9d1dcc7b336872566785e7b0db69929eb262
SHA1 (patch-tests_Makefile) = b83de10222859d656468463071dbce70adcc22b1
SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779
SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
index d1101dae32b..ac801559afa 100644
--- a/archivers/zstd/patches/patch-Makefile
+++ b/archivers/zstd/patches/patch-Makefile
@@ -1,18 +1,18 @@
-$NetBSD: patch-Makefile,v 1.10 2021/05/20 12:23:24 wiz Exp $
+$NetBSD: patch-Makefile,v 1.11 2022/01/19 06:02:25 adam Exp $
Enable the "install" target on all OS.
---- Makefile.orig 2021-05-14 14:59:34.000000000 +0000
+--- Makefile.orig 2021-12-20 22:49:18.000000000 +0000
+++ Makefile
-@@ -148,7 +148,6 @@ clean:
+@@ -149,7 +149,6 @@ clean:
#------------------------------------------------------------------------------
# make install is validated only for Linux, macOS, Hurd and some BSD targets
#------------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku AIX))
HOST_OS = POSIX
-@@ -354,7 +353,6 @@ clang38install:
+@@ -373,7 +372,6 @@ clang38install:
lz4install:
[ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
diff --git a/archivers/zstd/patches/patch-lib_Makefile b/archivers/zstd/patches/patch-lib_Makefile
index 9f177a8b072..d4d0fd4dd8d 100644
--- a/archivers/zstd/patches/patch-lib_Makefile
+++ b/archivers/zstd/patches/patch-lib_Makefile
@@ -1,14 +1,14 @@
-$NetBSD: patch-lib_Makefile,v 1.13 2021/05/20 12:23:24 wiz Exp $
+$NetBSD: patch-lib_Makefile,v 1.14 2022/01/19 06:02:25 adam Exp $
Detect and use third-party libraries (taken from programs/Makefile).
-fvisibility=hidden makes error when linking.
Enable the "install" target on all OS.
Fix pkgconfig installation path.
---- lib/Makefile.orig 2021-05-14 14:59:34.000000000 +0000
+--- lib/Makefile.orig 2021-12-20 22:49:18.000000000 +0000
+++ lib/Makefile
-@@ -204,6 +204,43 @@ endif
- endif # BUILD_DIR
+@@ -67,6 +67,43 @@ decompress/zstd_decompress_block.o : CFL
+ endif
+VOID = /dev/null
@@ -51,15 +51,15 @@ Fix pkgconfig installation path.
# macOS linker doesn't support -soname, and use different extension
# see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
ifeq ($(UNAME), Darwin)
-@@ -374,7 +411,6 @@ clean:
+@@ -249,7 +286,6 @@ clean:
#-----------------------------------------------------------------------------
# make install is validated only for below listed environments
#-----------------------------------------------------------------------------
--ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
+-ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX))
- all: libzstd.pc
+ lib: libzstd.pc
-@@ -405,11 +441,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
+@@ -280,11 +316,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
# to PREFIX, rather than as a resolved value.
PCEXEC_PREFIX := $(if $(HAS_EXPLICIT_EXEC_PREFIX),$(EXEC_PREFIX),$${prefix})
@@ -71,7 +71,7 @@ Fix pkgconfig installation path.
ifneq (,$(filter $(UNAME),SunOS))
INSTALL ?= ginstall
-@@ -479,4 +511,3 @@ uninstall:
+@@ -354,4 +386,3 @@ uninstall:
$(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
@echo zstd libraries successfully uninstalled