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
This commit is contained in:
Muhammad Moinur Rahman 2024-02-13 23:16:53 +01:00
parent 40efec60a9
commit 8bb7615cb8
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
1 changed files with 3 additions and 0 deletions

View File

@ -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>