[vlc-devel] [PATCH] gcrypt: don't provide thread callbacks after 1.6.0

Rémi Denis-Courmont remi at remlab.net
Fri Jun 12 13:11:04 CEST 2015


Le 2015-06-12 13:06, Thomas Guillem a écrit :
> ---
>  include/vlc_gcrypt.h | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/include/vlc_gcrypt.h b/include/vlc_gcrypt.h
> index 89bdab8..5677d5d 100644
> --- a/include/vlc_gcrypt.h
> +++ b/include/vlc_gcrypt.h
> @@ -25,6 +25,12 @@
>
>  #include <errno.h>
>
> +/**
> + * After libgcrypt 1.6.0, it is no longer supported to provide 
> thread
> + * callbacks. Use the default thread implementation instead.
> + */
> +#if GCRYPT_VERSION_NUMBER < 0x010600

I'd require gcrypt 1.6.0 in configure (and contribs) and remove the 
whole thing.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list