Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 01:36:13 GMT
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f659f82a390 - main - security/libfido2: Unbreak build with DEFAULT_VERSIONS=ssl=openssl30
Message-ID:  <202310040136.3941aDU0004030@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f659f82a39062ee43e69e81aad815c31e5d5d68

commit 1f659f82a39062ee43e69e81aad815c31e5d5d68
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-10-04 01:35:51 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-10-04 01:35:51 +0000

    security/libfido2: Unbreak build with DEFAULT_VERSIONS=ssl=openssl30
    
    Use OPENSSL_API_COMPAT to fix build on FreeBSD 13.2 with
    DEFAULT_VERSIONS=ssl=openssl30
    
    PR:             273909
    Approved by:    sunpoet (maintainer)
---
 security/libfido2/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index 555174d59a0c..021bde1de920 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -28,4 +28,8 @@ OPTIONS_DEFINE=	DOCS
 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl
 .endif
 
+.if ${SSL_DEFAULT} == openssl30
+CFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
+.endif
+
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310040136.3941aDU0004030>