ports/security/p5-Crypt-GCrypt/files/patch-Makefile.PL
Tijl Coosemans 991525b997 security/p5-Crypt-GCrypt: Fix configure with llvm16
This came up during an exp-run for gettext 0.22.

PR:		272210
2023-07-05 14:00:41 +02:00

11 lines
301 B
Perl

--- Makefile.PL.orig 2013-05-25 17:07:14 UTC
+++ Makefile.PL
@@ -41,6 +41,7 @@ check_lib_or_exit(
# SHA-512)
check_lib_or_exit(
function => 'if (gcry_check_version("1.3.0")) return 0; else return 1;',
+ header => [qw(gcrypt.h)],
lib => [qw(gcrypt)],
libpath => $gcrypt_libpath
);