git: 0670747bde8a - main - security/gnupg-pkcs11-scd: fix build after libassuan update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jul 2024 09:40:05 UTC
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0670747bde8a16cacb7b86002292995f6e84f8d2
commit 0670747bde8a16cacb7b86002292995f6e84f8d2
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-07-09 09:37:45 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-07-09 09:39:44 +0000
security/gnupg-pkcs11-scd: fix build after libassuan update
---
security/gnupg-pkcs11-scd/files/patch-configure | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/security/gnupg-pkcs11-scd/files/patch-configure b/security/gnupg-pkcs11-scd/files/patch-configure
new file mode 100644
index 000000000000..feb34ee312b5
--- /dev/null
+++ b/security/gnupg-pkcs11-scd/files/patch-configure
@@ -0,0 +1,13 @@
+Patch to be able to use libassuan 3.x
+
+--- configure.orig 2024-07-09 07:00:07 UTC
++++ configure
+@@ -6801,7 +6801,7 @@ if test -z "${LIBASSUAN_LIBS}"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libassuan" >&5
+ $as_echo_n "checking for libassuan... " >&6; }
+ test -x "${with_libassuan_prefix}/bin/libassuan-config" || as_fn_error $? "Cannot locate libassuan" "$LINENO" 5
+- "${with_libassuan_prefix}/bin/libassuan-config" --version | grep "^2\." > /dev/null || as_fn_error $? "Need assuan-2" "$LINENO" 5
++ "${with_libassuan_prefix}/bin/libassuan-config" --version | grep "^3\." > /dev/null || as_fn_error $? "Need assuan-2" "$LINENO" 5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
+ $as_echo "found" >&6; }