zstd-1.5.1 is a maintenance release, bringing small refinements. Release
notes and changelog can be found at
https://github.com/facebook/zstd/releases/tag/v1.5.1.

Shared lib needs a minor bump because of two additions.

All tests pass, and successfully build tested several consumers.

Comments/OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/zstd/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile    6 Jun 2021 16:11:29 -0000       1.37
+++ Makefile    22 Dec 2021 05:48:34 -0000
@@ -2,10 +2,10 @@
 
 COMMENT =              zstandard fast real-time compression algorithm
 
-V =                    1.5.0
+V =                    1.5.1
 DISTNAME =             zstd-${V}
 
-SHARED_LIBS =          zstd    6.0     # 1.5.0
+SHARED_LIBS =          zstd    6.1     # 1.5.1
 
 CATEGORIES =           archivers
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/archivers/zstd/distinfo,v
retrieving revision 1.23
diff -u -p -r1.23 distinfo
--- distinfo    6 Jun 2021 16:11:29 -0000       1.23
+++ distinfo    22 Dec 2021 05:48:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (zstd-1.5.0.tar.gz) = UZT7+ngfz0W5jF6EllGqezsKAIxrctSg23YPMAIpHpQ=
-SIZE (zstd-1.5.0.tar.gz) = 1851389
+SHA256 (zstd-1.5.1.tar.gz) = 4osvLtVxDqDToeysP2qUegFrlyud0wJCNpAQ5fU9cAI=
+SIZE (zstd-1.5.1.tar.gz) = 1934669
Index: patches/patch-lib_Makefile
===================================================================
RCS file: /cvs/ports/archivers/zstd/patches/patch-lib_Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 patch-lib_Makefile
--- patches/patch-lib_Makefile  6 Jun 2021 16:11:29 -0000       1.12
+++ patches/patch-lib_Makefile  22 Dec 2021 05:48:34 -0000
@@ -1,31 +1,11 @@
 $OpenBSD: patch-lib_Makefile,v 1.12 2021/06/06 16:11:29 bket Exp $
 
-- Some compilers don't have -Wvla
-- Don't set compiler optimisation level
-- Don't create symbolic links to SHARED_LIB
+Don't create symbolic links to SHARED_LIB.
 
 Index: lib/Makefile
 --- lib/Makefile.orig
 +++ lib/Makefile
-@@ -55,7 +55,7 @@ endif
-   CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
-             -DDYNAMIC_BMI2=0 -DNDEBUG
- else
--  CFLAGS += -O3
-+  CFLAGS +=
- endif
- 
- DEBUGLEVEL ?= 0
-@@ -66,7 +66,7 @@ endif
- DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
-             -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
-             -Wstrict-prototypes -Wundef -Wpointer-arith \
--            -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
-+            -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
-             -Wredundant-decls -Wmissing-prototypes -Wc++-compat
- CFLAGS   += $(DEBUGFLAGS) $(MOREFLAGS)
- FLAGS     = $(CPPFLAGS) $(CFLAGS)
-@@ -456,8 +456,6 @@ install-shared:
+@@ -331,8 +331,6 @@ install-shared:
        [ -e $(DESTDIR)$(LIBDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/
        @echo Installing shared library
        $(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR)
Index: patches/patch-lib_libzstd_mk
===================================================================
RCS file: patches/patch-lib_libzstd_mk
diff -N patches/patch-lib_libzstd_mk
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_libzstd_mk        22 Dec 2021 05:48:34 -0000
@@ -0,0 +1,26 @@
+$OpenBSD$
+
+Don't set compiler optimisation level.
+Some compilers don't have -Wvla.
+
+Index: lib/libzstd.mk
+--- lib/libzstd.mk.orig
++++ lib/libzstd.mk
+@@ -79,7 +79,7 @@ endif
+   CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
+             -DDYNAMIC_BMI2=0 -DNDEBUG
+ else
+-  CFLAGS += -O3
++  CFLAGS +=
+ endif
+ 
+ DEBUGLEVEL ?= 0
+@@ -90,7 +90,7 @@ endif
+ DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
+             -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
+             -Wstrict-prototypes -Wundef -Wpointer-arith \
+-            -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
++            -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
+             -Wredundant-decls -Wmissing-prototypes -Wc++-compat
+ CFLAGS   += $(DEBUGFLAGS) $(MOREFLAGS)
+ LDFLAGS  += $(MOREFLAGS)
Index: patches/patch-programs_Makefile
===================================================================
RCS file: patches/patch-programs_Makefile
diff -N patches/patch-programs_Makefile
--- patches/patch-programs_Makefile     6 Mar 2021 19:31:22 -0000       1.7
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-programs_Makefile,v 1.7 2021/03/06 19:31:22 bket Exp $
-
-Some compilers don't have -Wvla
-
-Index: programs/Makefile
---- programs/Makefile.orig
-+++ programs/Makefile
-@@ -59,7 +59,7 @@ CFLAGS   ?= -O3
- DEBUGFLAGS+=-Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
-             -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
-             -Wstrict-prototypes -Wundef -Wpointer-arith \
--            -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
-+            -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
-             -Wredundant-decls -Wmissing-prototypes -Wc++-compat
- CFLAGS   += $(DEBUGFLAGS)
- CPPFLAGS += $(MOREFLAGS)
Index: patches/patch-tests_Makefile
===================================================================
RCS file: patches/patch-tests_Makefile
diff -N patches/patch-tests_Makefile
--- patches/patch-tests_Makefile        6 Jun 2021 16:11:29 -0000       1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-tests_Makefile,v 1.4 2021/06/06 16:11:29 bket Exp $
-
-Some compilers don't have -Wvla
-
-Index: tests/Makefile
---- tests/Makefile.orig
-+++ tests/Makefile
-@@ -37,7 +37,7 @@ CFLAGS     ?= -O3
- CFLAGS     += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow                 
\
-               -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement 
\
-               -Wstrict-prototypes -Wundef                                     
\
--              -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings      
\
-+              -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings      \
-               -Wredundant-decls -Wmissing-prototypes 
-Wno-deprecated-declarations
- CFLAGS     += $(DEBUGFLAGS)
- CPPFLAGS   += $(MOREFLAGS)

Reply via email to