[tor-commits] [tor/master] Check for libzstd >= 1.1

nickm at torproject.org nickm at torproject.org
Tue May 30 17:33:57 UTC 2017


commit 90dd7dc92a7f7f59224bef02e847511bfc6b4489
Author: Taylor Yu <catalyst at torproject.org>
Date:   Tue May 30 13:00:54 2017 -0400

    Check for libzstd >= 1.1
    
    The consensus compression code depends on a streaming compression API
    that is new in libzstd-1.1.
    
    Fixes #22413.
---
 changes/bug22413 | 4 ++++
 configure.ac     | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/bug22413 b/changes/bug22413
new file mode 100644
index 0000000..5b522f1
--- /dev/null
+++ b/changes/bug22413
@@ -0,0 +1,4 @@
+  o Minor bugfixes (directory protocol):
+    - Check for libzstd >= 1.1 because older versions lack the
+      necessary streaming API.  Fixes bug 22413; bugfix on
+      0.3.1.1-alpha.
diff --git a/configure.ac b/configure.ac
index 59908c7..064644e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -856,7 +856,7 @@ if test "x$enable_zstd" = "xno"; then
     have_zstd=no;
 else
     PKG_CHECK_MODULES([ZSTD],
-                      [libzstd],
+                      [libzstd >= 1.1],
                       have_zstd=yes,
                       have_zstd=no)
 





More information about the tor-commits mailing list