Update to zstd-1.5.0

Major release featuring large performance improvements as well as API
changes. Changelog:
https://github.com/facebook/zstd/blob/v1.5.0/CHANGELOG.

This adds and removes some symbols in libzstd, so bump major.

OK danj@
This commit is contained in:
bket 2021-06-06 16:11:29 +00:00
parent e8c8669fff
commit e108702357
4 changed files with 13 additions and 13 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.36 2021/03/06 19:31:22 bket Exp $
# $OpenBSD: Makefile,v 1.37 2021/06/06 16:11:29 bket Exp $
COMMENT = zstandard fast real-time compression algorithm
V = 1.4.9
V = 1.5.0
DISTNAME = zstd-${V}
SHARED_LIBS = zstd 5.0 # 1.4.9
SHARED_LIBS = zstd 6.0 # 1.5.0
CATEGORIES = archivers

View File

@ -1,2 +1,2 @@
SHA256 (zstd-1.4.9.tar.gz) = Kax04Z6ihlkBc2GXYkDEtcXCTbO4kzhzGm/rl8A40pM=
SIZE (zstd-1.4.9.tar.gz) = 1821109
SHA256 (zstd-1.5.0.tar.gz) = UZT7+ngfz0W5jF6EllGqezsKAIxrctSg23YPMAIpHpQ=
SIZE (zstd-1.5.0.tar.gz) = 1851389

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-lib_Makefile,v 1.11 2021/03/06 19:31:22 bket Exp $
$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
@ -7,7 +7,7 @@ $OpenBSD: patch-lib_Makefile,v 1.11 2021/03/06 19:31:22 bket Exp $
Index: lib/Makefile
--- lib/Makefile.orig
+++ lib/Makefile
@@ -52,7 +52,7 @@ endif
@@ -55,7 +55,7 @@ endif
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
-DDYNAMIC_BMI2=0 -DNDEBUG
else
@ -16,7 +16,7 @@ Index: lib/Makefile
endif
DEBUGLEVEL ?= 0
@@ -63,7 +63,7 @@ endif
@@ -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 \
@ -25,12 +25,12 @@ Index: lib/Makefile
-Wredundant-decls -Wmissing-prototypes -Wc++-compat
CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS)
FLAGS = $(CPPFLAGS) $(CFLAGS)
@@ -428,8 +428,6 @@ install-shared:
@@ -456,8 +456,6 @@ install-shared:
[ -e $(DESTDIR)$(LIBDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/
@echo Installing shared library
$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR)
- ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR)
- ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT)
.PHONY: install-includes
install-includes:
[ -e $(DESTDIR)$(INCLUDEDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(INCLUDEDIR)/

View File

@ -1,16 +1,16 @@
$OpenBSD: patch-tests_Makefile,v 1.3 2021/03/06 19:31:22 bket Exp $
$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
@@ -36,7 +36,7 @@ CFLAGS ?= -O3
@@ -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
-Wredundant-decls -Wmissing-prototypes -Wno-deprecated-declarations
CFLAGS += $(DEBUGFLAGS)
CPPFLAGS += $(MOREFLAGS)