svn commit: r545127 - head/security/libfido2
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Aug 16 18:44:59 UTC 2020
Author: pkubaj
Date: Sun Aug 16 18:44:59 2020
New Revision: 545127
URL: https://svnweb.freebsd.org/changeset/ports/545127
Log:
security/libfido2: fix build on GCC architectures
Use newer compiler:
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.4.0/src/fido.h:115: error: wrong number of arguments specified for '__deprecated__' attribute
MFH: 2020Q3 (fix build blanket)
Modified:
head/security/libfido2/Makefile
Modified: head/security/libfido2/Makefile
==============================================================================
--- head/security/libfido2/Makefile Sun Aug 16 17:45:41 2020 (r545126)
+++ head/security/libfido2/Makefile Sun Aug 16 18:44:59 2020 (r545127)
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcbor.so:devel/libcbor \
libhidapi.so.0:comms/hidapi
-USES= cmake compiler pkgconfig ssl
+USES= cmake compiler:c11 pkgconfig ssl
CFLAGS+= -D_WITH_GETLINE
CMAKE_ON= USE_HIDAPI
@@ -29,8 +29,5 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/libcrypto/d' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/openbsd-compat/openbsd-compat.h
-.if ${CHOSEN_COMPILER_TYPE} == gcc
- @${REINPLACE_CMD} -e '/-Wno-unused-result/d; /-Wno-discarded-qualifiers/d' ${WRKSRC}/CMakeLists.txt
-.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list