git: 8bb7615cb850 - main - security/lasso: Fix build with new xmlsec1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Feb 2024 22:19:17 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8bb7615cb8505d854178f8f9090ccfe984085462
commit 8bb7615cb8505d854178f8f9090ccfe984085462
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-13 22:16:53 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-13 22:16:53 +0000
security/lasso: Fix build with new xmlsec1
The newest update to xmlsec1 broke this port as it used a deprecated
functin of xmlsec1.
PR: 277033
Reported by: dweimer@dweimer.net
---
security/lasso/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index 39623543b04f..3f05991bcd70 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -43,5 +43,8 @@ CFLAGS+= -Wno-error=int-conversion
post-patch:
@${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \
${CONFIGURE_WRKSRC}/configure
+# Fix build with new xmlsec1 as this function was deprecated
+ @${REINPLACE_CMD} -e 's|BAD_CAST XMLSEC_CRYPTO|BAD_CAST xmlSecGetDefaultCrypto()|g' \
+ ${WRKSRC}/lasso/lasso.c
.include <bsd.port.mk>