aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2023-07-04 12:04:05 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2023-07-05 12:00:41 +0000
commit991525b997a3e3c34f32ce20db2b34de45cbdd7b (patch)
tree00bec29229c446a2e01faa2e20a965080ab7c148
parenta4f1bfb9fb0fc1d03298cddf28433823d3d5764c (diff)
downloadports-991525b997a3e3c34f32ce20db2b34de45cbdd7b.tar.gz
ports-991525b997a3e3c34f32ce20db2b34de45cbdd7b.zip
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
+ );