zstd-1.5.2 is a bug-fix release. From
https://github.com/facebook/zstd/releases/tag/v1.5.2:
- As a side-effect of the inclusion of assembly code in our source tree,
  binary artifacts were being marked as needing an executable stack on
  non-amd64 architectures. This release corrects that issue. More
  context is available in #2963.
- This release also corrects a performance regression that was
  introduced in v1.5.0 that slows down compression of very small data
  when using the streaming API. Issue #2966 tracks that topic.
- In addition there are a number of smaller improvements and fixes.

There seem to be *no* dynamic export changes for the shared library.

'make test' runs successfully, and works for me on amd64.

OK?


diff --git Makefile Makefile
index 9c9e26b1911..edc7e0bbb80 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =              zstandard fast real-time compression algorithm
 
-V =                    1.5.1
+V =                    1.5.2
 DISTNAME =             zstd-${V}
 
 SHARED_LIBS =          zstd    6.1     # 1.5.1
diff --git distinfo distinfo
index a4aad9aef0e..25b30205e17 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (zstd-1.5.1.tar.gz) = 4osvLtVxDqDToeysP2qUegFrlyud0wJCNpAQ5fU9cAI=
-SIZE (zstd-1.5.1.tar.gz) = 1934669
+SHA256 (zstd-1.5.2.tar.gz) = fELVb6wSaSmmqF28c/8dskEdBPEE+um96lEwVmOoP9A=
+SIZE (zstd-1.5.2.tar.gz) = 1936664
diff --git patches/patch-lib_libzstd_mk patches/patch-lib_libzstd_mk
index 1cf669345a6..2315ee5be1b 100644
--- patches/patch-lib_libzstd_mk
+++ patches/patch-lib_libzstd_mk
@@ -6,16 +6,16 @@ Some compilers don't have -Wvla.
 Index: lib/libzstd.mk
 --- lib/libzstd.mk.orig
 +++ lib/libzstd.mk
-@@ -79,7 +79,7 @@ endif
+@@ -81,7 +81,7 @@ endif
    CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
              -DDYNAMIC_BMI2=0 -DNDEBUG
  else
--  CFLAGS += -O3
-+  CFLAGS +=
+-  CFLAGS ?= -O3
++  CFLAGS ?=
  endif
  
  DEBUGLEVEL ?= 0
-@@ -90,7 +90,7 @@ endif
+@@ -92,7 +92,7 @@ endif
  DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
              -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
              -Wstrict-prototypes -Wundef -Wpointer-arith \
@@ -23,4 +23,4 @@ Index: lib/libzstd.mk
 +            -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
              -Wredundant-decls -Wmissing-prototypes -Wc++-compat
  CFLAGS   += $(DEBUGFLAGS) $(MOREFLAGS)
- LDFLAGS  += $(MOREFLAGS)
+ ASFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS) $(CFLAGS)

Reply via email to