svn commit: r551632 - head/security/tpm2-tools
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Oct 7 12:23:52 UTC 2020
Author: pkubaj
Date: Wed Oct 7 12:23:51 2020
New Revision: 551632
URL: https://svnweb.freebsd.org/changeset/ports/551632
Log:
security/tpm2-tools: fix build on GCC architectures
Use C11 compiler:
tools/tpm2_tool.c:92: error: 'tpm2_option_flags' has no member named 'verbose'
tools/tpm2_tool.c:103: error: 'tpm2_option_flags' has no member named 'quiet'
tools/tpm2_tool.c:116: error: 'tpm2_option_flags' has no member named 'enable_errata'
Modified:
head/security/tpm2-tools/Makefile
Modified: head/security/tpm2-tools/Makefile
==============================================================================
--- head/security/tpm2-tools/Makefile Wed Oct 7 11:36:58 2020 (r551631)
+++ head/security/tpm2-tools/Makefile Wed Oct 7 12:23:51 2020 (r551632)
@@ -14,7 +14,7 @@ LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss \
libcurl.so:ftp/curl \
libuuid.so:misc/e2fsprogs-libuuid
-USES= gmake libtool pkgconfig ssl
+USES= compiler:c11 gmake libtool pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
More information about the svn-ports-all
mailing list