Fix building of Shishi with libgcrypt 1.6 and later. Patch copied from Debian: https://anonscm.debian.org/cgit/collab-maint/shishi.git/tree/debian/patches/fix_gcrypt_detection.diff?id=948301ae648a542a408da250755aeed58a6e3542 Description: Fix autoconf gnutls detection to also accept gcrypt 1.6. Author: Andreas Metzler Bug-Debian: http://bugs.debian.org/753150 Origin: vendor Forwarded: no Last-Update: 2014-07-18 --- shishi-1.0.2.orig/gl/m4/gc.m4 +++ shishi-1.0.2/gl/m4/gc.m4 @@ -12,10 +12,12 @@ AC_DEFUN([gl_GC], if test "$libgcrypt" != no; then AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [ #include -/* GCRY_MODULE_ID_USER was added in 1.4.4 and gc-libgcrypt.c - will fail on startup if we don't have 1.4.4 or later, so - test for it early. */ -#if !defined GCRY_MODULE_ID_USER +/* gc-libgcrypt.c will fail on startup if we don't have libgcrypt 1.4.4 or + later, test for it early. by checking for either + - GCRY_MODULE_ID_USER which was added in 1.4.4 and dropped in 1.6 or + - GCRYPT_VERSION_NUMBER which was added in 1.6. + */ +#if !defined GCRY_MODULE_ID_USER && !defined GCRYPT_VERSION_NUMBER error too old libgcrypt #endif ]) href='/guix/log/gnu/packages/patches/unzip-overflow.patch'>logtreecommitdiff
AgeCommit message (Expand)Author
2021-03-14gnu: unzip: Add patches from Fedora [security fixes]....Non-exhaustively fixes CVE-2016-9844, CVE-2018-1000035, CVE-2018-18384, and CVE-2019-13232. * gnu/packages/patches/unzip-COVSCAN-fix-unterminated-string.patch, gnu/packages/patches/unzip-CVE-2016-9844.patch, gnu/packages/patches/unzip-CVE-2018-1000035.patch, gnu/packages/patches/unzip-CVE-2018-18384.patch, gnu/packages/patches/unzip-case-insensitive.patch, gnu/packages/patches/unzip-alt-iconv-utf8-print.patch, gnu/packages/patches/unzip-alt-iconv-utf8.patch, gnu/packages/patches/unzip-close.patch, gnu/packages/patches/unzip-exec-shield.patch, gnu/packages/patches/unzip-fix-recmatch.patch, gnu/packages/patches/unzip-manpage-fix.patch, gnu/packages/patches/unzip-overflow.patch, gnu/packages/patches/unzip-symlink.patch, gnu/packages/patches/unzip-timestamp.patch, gnu/packages/patches/unzip-valgrind.patch, gnu/packages/patches/unzip-x-option.patch, gnu/packages/patches/unzip-zipbomb-manpage.patch, gnu/packages/patches/unzip-zipbomb-part1.patch, gnu/packages/patches/unzip-zipbomb-part2.patch, gnu/packages/patches/unzip-zipbomb-part3.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/compression.scm (unzip/fixed): New variable. Apply patches. (unzip)[replacement]: Graft. Léo Le Bouter