diff --git a/buildenv b/buildenv index 6ed907c..9ff0685 100644 --- a/buildenv +++ b/buildenv @@ -1,5 +1,5 @@ # bump: libgcrypt-version /LIBGCRYPT_VERSION="(.*)"/ https://gnupg.org/ftp/gcrypt/libgcrypt/|re:/libgcrypt-([\d.]+).tar.bz2/$1/|semver:* -LIBGCRYPT_VERSION="1.10.2" +LIBGCRYPT_VERSION="1.10.3" export ZOPEN_STABLE_URL="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${LIBGCRYPT_VERSION}.tar.bz2" export ZOPEN_STABLE_DEPS="make bzip2 tar curl perl automake autoconf m4 sed gettext zoslib diffutils libgpgerror" diff --git a/patches/rndgetentropy.c.patch b/patches/rndgetentropy.c.patch index 3c37109..5dac25c 100644 --- a/patches/rndgetentropy.c.patch +++ b/patches/rndgetentropy.c.patch @@ -1,18 +1,17 @@ diff --git a/random/rndgetentropy.c b/random/rndgetentropy.c -index 513da0b..6382f52 100644 +index a6f3c4a..941e0f6 100644 --- a/random/rndgetentropy.c +++ b/random/rndgetentropy.c -@@ -95,8 +95,13 @@ _gcry_rndgetentropy_gather_random (void (*add)(const void*, size_t, +@@ -96,7 +96,11 @@ _gcry_rndgetentropy_gather_random (void (*add)(const void*, size_t, * RHEL kernel. */ nbytes = length < 32 ? length : 32; -+ #ifdef __MVS__ -+ ret = getentropy (buffer, nbytes); -+ #else - ret = getrandom (buffer, nbytes, GRND_RANDOM); -+ #endif +- ret = getrandom (buffer, nbytes, GRND_RANDOM); ++ #ifdef __MVS__ ++ ret = getentropy (buffer, nbytes); ++ #else ++ ret = getrandom (buffer, nbytes, GRND_RANDOM); ++ #endif } -+ else - { - nbytes = length < sizeof (buffer) ? length : sizeof (buffer); + #endif