git: b5f07ccdd26a - main - security/libfido2: Fix build after base 74ecdf86d8d2a94a4bfcf094a2e21b4747e4907f
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jan 2025 15:45:32 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b5f07ccdd26a5242abc9ec44ec7237649f6634e5
commit b5f07ccdd26a5242abc9ec44ec7237649f6634e5
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-09 15:45:22 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-09 15:45:22 +0000
security/libfido2: Fix build after base 74ecdf86d8d2a94a4bfcf094a2e21b4747e4907f
PR: 283697
Reported by: Dan Kotowski <dan.kotowski@a9development.com>
Obtained from: Dimitry Andric <dim@FreeBSD.org>
---
security/libfido2/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index b4c9d9f2765f..df04268c3626 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -33,4 +33,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} -e 's|-D_POSIX_C_SOURCE=200809L|-D_POSIX_C_SOURCE=202405L|' ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>