[vlc-devel] [PATCH 2/2] Lower libgcrypt to 1.5.3

Nicolas Chauvet kwizart at gmail.com
Wed Jul 15 17:41:24 CEST 2020


This is the release in RHEL/CentOS 7

Signed-off-by: Nicolas Chauvet <kwizart at gmail.com>
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index bf674cf178..3aa07a8c71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4098,14 +4098,14 @@ AC_ARG_ENABLE(libgcrypt,
 AC_ARG_VAR([GCRYPT_CFLAGS], [C compiler flags for gcrypt])
 AC_ARG_VAR([GCRYPT_LIBS], [linker flags flags for gcrypt])
 
-# require libgcrypt >= 1.6.0
+# require libgcrypt >= 1.5.3
 AS_IF([test "${enable_libgcrypt}" != "no"], [
-  AC_CACHE_CHECK([for gcrypt 1.6.0 or later], [ac_cv_lib_gcrypt], [
+  AC_CACHE_CHECK([for gcrypt 1.5.3 or later], [ac_cv_lib_gcrypt], [
     VLC_SAVE_FLAGS
     CFLAGS="${CFLAGS} ${GCRYPT_CFLAGS}"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
 [#include <gcrypt.h>
-#if GCRYPT_VERSION_NUMBER < 0x010600
+#if GCRYPT_VERSION_NUMBER < 0x010503
 #error
 #endif]])], [
       ac_cv_lib_gcrypt=yes
@@ -4119,7 +4119,7 @@ AS_IF([test "${enable_libgcrypt}" != "no"], [
     AC_DEFINE([HAVE_GCRYPT], 1, [Defined if having gcrypt])
   ], [
     AS_IF([test "${enable_libgcrypt}" = "yes"], [
-      AC_MSG_ERROR([libgcrypt version 1.6.0 or higher not found. Install libgcrypt or pass --disable-libgcrypt.])
+      AC_MSG_ERROR([libgcrypt version 1.5.3 or higher not found. Install libgcrypt or pass --disable-libgcrypt.])
     ])
   ])
 ])
-- 
2.25.4



More information about the vlc-devel mailing list