Update to zstd-1.4.8
Note the major bump to the shared lib due to a removed symbol. Changelogs: https://github.com/facebook/zstd/releases/tag/v1.4.7 https://github.com/facebook/zstd/releases/tag/v1.4.8 OK sthen@
This commit is contained in:
parent
29342c3207
commit
2ac86d1574
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.34 2020/09/03 17:11:10 bket Exp $
|
||||
# $OpenBSD: Makefile,v 1.35 2020/12/29 20:40:31 bket Exp $
|
||||
|
||||
COMMENT = zstandard fast real-time compression algorithm
|
||||
|
||||
V = 1.4.5
|
||||
REVISION = 0
|
||||
V = 1.4.8
|
||||
DISTNAME = zstd-${V}
|
||||
|
||||
SHARED_LIBS = zstd 3.2 # 1.4.5
|
||||
SHARED_LIBS = zstd 4.0 # 1.4.7
|
||||
|
||||
CATEGORIES = archivers
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (zstd-1.4.5.tar.gz) = mOkcfGvxYr+Q5OcP28QagYi5+o3lrYQMQBGYAUQGzp4=
|
||||
SIZE (zstd-1.4.5.tar.gz) = 1973695
|
||||
SHA256 (zstd-1.4.8.tar.gz) = MkeCl8oVACEQCNWWJ29TZ8VBmElc9nfpQ59HkaTGnyQ=
|
||||
SIZE (zstd-1.4.8.tar.gz) = 1803550
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-lib_Makefile,v 1.9 2020/09/03 17:11:10 bket Exp $
|
||||
$OpenBSD: patch-lib_Makefile,v 1.10 2020/12/29 20:40:31 bket Exp $
|
||||
|
||||
- Some compilers don't have -Wvla
|
||||
- Don't set compiler optimisation level
|
||||
@ -7,30 +7,30 @@ $OpenBSD: patch-lib_Makefile,v 1.9 2020/09/03 17:11:10 bket Exp $
|
||||
Index: lib/Makefile
|
||||
--- lib/Makefile.orig
|
||||
+++ lib/Makefile
|
||||
@@ -38,7 +38,7 @@ endif
|
||||
@@ -52,7 +52,7 @@ endif
|
||||
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
|
||||
-DDYNAMIC_BMI2=0 -DNDEBUG
|
||||
else
|
||||
- CFLAGS += -O3
|
||||
+ CFLAGS +=
|
||||
endif
|
||||
|
||||
DEBUGLEVEL ?= 0
|
||||
@@ -63,7 +63,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)
|
||||
@@ -81,7 +81,7 @@ ifneq ($(ZSTD_LIB_MINIFY), 0)
|
||||
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
|
||||
-DDYNAMIC_BMI2=0 -DNDEBUG
|
||||
else
|
||||
- CFLAGS += -O3
|
||||
+ CFLAGS +=
|
||||
endif
|
||||
|
||||
# Modules
|
||||
@@ -328,8 +328,6 @@ install-shared: libzstd
|
||||
CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS)
|
||||
FLAGS = $(CPPFLAGS) $(CFLAGS)
|
||||
@@ -427,8 +427,6 @@ install-shared:
|
||||
[ -e $(DESTDIR)$(LIBDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/
|
||||
@echo Installing shared library
|
||||
$(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/
|
||||
$(Q)$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR)
|
||||
- $(Q)ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR)
|
||||
- $(Q)ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT)
|
||||
$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR)
|
||||
- ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR)
|
||||
- ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT)
|
||||
|
||||
install-includes:
|
||||
@echo Installing includes
|
||||
[ -e $(DESTDIR)$(INCLUDEDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(INCLUDEDIR)/
|
||||
|
@ -1,16 +1,16 @@
|
||||
$OpenBSD: patch-programs_Makefile,v 1.5 2020/09/03 17:11:10 bket Exp $
|
||||
$OpenBSD: patch-programs_Makefile,v 1.6 2020/12/29 20:40:31 bket Exp $
|
||||
|
||||
Some compilers don't have -Wvla
|
||||
|
||||
Index: programs/Makefile
|
||||
--- programs/Makefile.orig
|
||||
+++ programs/Makefile
|
||||
@@ -51,7 +51,7 @@ CFLAGS ?= -O3
|
||||
@@ -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) $(MOREFLAGS)
|
||||
FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
|
||||
CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS)
|
||||
FLAGS = $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-tests_Makefile,v 1.1 2020/09/03 17:11:10 bket Exp $
|
||||
$OpenBSD: patch-tests_Makefile,v 1.2 2020/12/29 20:40:31 bket Exp $
|
||||
|
||||
Some compilers don't have -Wvla
|
||||
|
||||
Index: tests/Makefile
|
||||
--- tests/Makefile.orig
|
||||
+++ tests/Makefile
|
||||
@@ -35,7 +35,7 @@ CFLAGS ?= -O3
|
||||
@@ -36,7 +36,7 @@ CFLAGS ?= -O3
|
||||
CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
|
||||
-Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
|
||||
-Wstrict-prototypes -Wundef \
|
||||
|
@ -1,11 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2019/12/08 18:41:48 bket Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/12/29 20:40:31 bket Exp $
|
||||
bin/unzstd
|
||||
@bin bin/zstd
|
||||
bin/zstdcat
|
||||
bin/zstdgrep
|
||||
bin/zstdless
|
||||
bin/zstdmt
|
||||
include/zbuff.h
|
||||
include/zdict.h
|
||||
include/zstd.h
|
||||
include/zstd_errors.h
|
||||
|
Loading…
Reference in New Issue
Block a user