svn commit: r545128 - branches/2020Q3/security/libfido2
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Aug 16 18:46:06 UTC 2020
Author: pkubaj
Date: Sun Aug 16 18:46:05 2020
New Revision: 545128
URL: https://svnweb.freebsd.org/changeset/ports/545128
Log:
MFH: r545127
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
Approved by: portmgr (fix build blanket)
Modified:
branches/2020Q3/security/libfido2/Makefile
Directory Properties:
branches/2020Q3/ (props changed)
Modified: branches/2020Q3/security/libfido2/Makefile
==============================================================================
--- branches/2020Q3/security/libfido2/Makefile Sun Aug 16 18:44:59 2020 (r545127)
+++ branches/2020Q3/security/libfido2/Makefile Sun Aug 16 18:46:05 2020 (r545128)
@@ -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