pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / servers / shishi / gcrypt-fix.patch
blobccc37389401bfa00ebf1502065858ffe8ac2330f
1 diff --git a/configure b/configure
2 index c9a442b..a596bfe 100755
3 --- a/configure
4 +++ b/configure
5 @@ -24491,12 +24491,6 @@ else
6 /* end confdefs.h. */
8 #include <gcrypt.h>
9 -/* GCRY_MODULE_ID_USER was added in 1.4.4 and gc-libgcrypt.c
10 - will fail on startup if we don't have 1.4.4 or later, so
11 - test for it early. */
12 -#if !defined GCRY_MODULE_ID_USER
13 -error too old libgcrypt
14 -#endif
16 int
17 main ()
18 diff --git a/gl/m4/gc.m4 b/gl/m4/gc.m4
19 index b352e33..4bab9f4 100644
20 --- a/gl/m4/gc.m4
21 +++ b/gl/m4/gc.m4
22 @@ -12,12 +12,6 @@ AC_DEFUN([gl_GC],
23 if test "$libgcrypt" != no; then
24 AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [
25 #include <gcrypt.h>
26 -/* GCRY_MODULE_ID_USER was added in 1.4.4 and gc-libgcrypt.c
27 - will fail on startup if we don't have 1.4.4 or later, so
28 - test for it early. */
29 -#if !defined GCRY_MODULE_ID_USER
30 -error too old libgcrypt
31 -#endif