[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Check for libzstd >= 1.1
commit 90dd7dc92a7f7f59224bef02e847511bfc6b4489
Author: Taylor Yu <catalyst@xxxxxxxxxxxxxx>
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)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits