Update to zstd-1.4.1.

Maintenance release, which includes a few bug fixes, including a fix for
a rare data corruption bug, which could only be triggered in a niche use
case.

List of changes can be found at
https://github.com/facebook/zstd/releases/tag/v1.4.1
This commit is contained in:
bket 2019-07-20 07:54:25 +00:00
parent 9f25156a06
commit 53df28cdbf
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.25 2019/07/12 20:43:30 sthen Exp $
# $OpenBSD: Makefile,v 1.26 2019/07/20 07:54:25 bket Exp $
COMMENT = zstandard fast real-time compression algorithm
V = 1.4.0
V = 1.4.1
DISTNAME = zstd-${V}
SHARED_LIBS = zstd 3.0 # 1.4.0

View File

@ -1,2 +1,2 @@
SHA256 (zstd-1.4.0.tar.gz) = fzI/DgwYSIdI89my1DU/AOkE6izNA3LqBNf3eqEVZVc=
SIZE (zstd-1.4.0.tar.gz) = 1886068
SHA256 (zstd-1.4.1.tar.gz) = U1Aghn6zr2H7rfy0AjNa9/Ut/kTwgcz6IB6WHwF1GqA=
SIZE (zstd-1.4.1.tar.gz) = 1895842

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-lib_Makefile,v 1.5 2019/04/17 08:01:01 bket Exp $
$OpenBSD: patch-lib_Makefile,v 1.6 2019/07/20 07:54:25 bket Exp $
Index: lib/Makefile
--- lib/Makefile.orig
+++ lib/Makefile
@@ -130,10 +130,10 @@ ifeq ($(shell uname), Darwin)
@@ -135,10 +135,10 @@ ifeq ($(shell uname), Darwin)
SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT)
SONAME_FLAGS = -install_name $(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER)
else
@ -16,7 +16,7 @@ Index: lib/Makefile
endif
@@ -146,7 +146,7 @@ all: lib
@@ -151,7 +151,7 @@ all: lib
libzstd.a: ARFLAGS = rcs
libzstd.a: $(ZSTD_OBJ)
@echo compiling static library
@ -25,7 +25,7 @@ Index: lib/Makefile
libzstd.a-mt: CPPFLAGS += -DZSTD_MULTITHREAD
libzstd.a-mt: libzstd.a
@@ -164,7 +164,7 @@ LIBZSTD = libzstd.$(SHARED_EXT_VER)
@@ -169,7 +169,7 @@ LIBZSTD = libzstd.$(SHARED_EXT_VER)
$(LIBZSTD): LDFLAGS += -shared -fPIC -fvisibility=hidden
$(LIBZSTD): $(ZSTD_FILES)
@echo compiling dynamic library $(LIBVER)
@ -34,7 +34,7 @@ Index: lib/Makefile
@echo creating versioned links
@ln -sf $@ libzstd.$(SHARED_EXT_MAJOR)
@ln -sf $@ libzstd.$(SHARED_EXT)
@@ -260,8 +260,6 @@ install-shared: libzstd
@@ -265,8 +265,6 @@ install-shared: libzstd
@echo Installing shared library
@$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/
@$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR)