summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2023-07-04 14:04:05 +0200
committerTijl Coosemans <tijl@FreeBSD.org>2023-07-05 14:00:41 +0200
commit991525b997a3e3c34f32ce20db2b34de45cbdd7b (patch)
tree00bec29229c446a2e01faa2e20a965080ab7c148
parentwww/kanboard: update to 1.2.31 (diff)
security/p5-Crypt-GCrypt: Fix configure with llvm16
This came up during an exp-run for gettext 0.22. PR: 272210
-rw-r--r--security/p5-Crypt-GCrypt/files/patch-Makefile.PL10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/p5-Crypt-GCrypt/files/patch-Makefile.PL b/security/p5-Crypt-GCrypt/files/patch-Makefile.PL
new file mode 100644
index 000000000000..25a8d8484e0a
--- /dev/null
+++ b/security/p5-Crypt-GCrypt/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- 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
+ );