svn commit: r552075 - branches/2020Q4/security/tpm2-tools

Piotr Kubaj pkubaj at FreeBSD.org
Sun Oct 11 19:02:18 UTC 2020


Author: pkubaj
Date: Sun Oct 11 19:02:18 2020
New Revision: 552075
URL: https://svnweb.freebsd.org/changeset/ports/552075

Log:
  MFH: r551632
  
  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'
  
  Approved by:	portmgr (fix build blanket)

Modified:
  branches/2020Q4/security/tpm2-tools/Makefile
Directory Properties:
  branches/2020Q4/   (props changed)

Modified: branches/2020Q4/security/tpm2-tools/Makefile
==============================================================================
--- branches/2020Q4/security/tpm2-tools/Makefile	Sun Oct 11 18:38:03 2020	(r552074)
+++ branches/2020Q4/security/tpm2-tools/Makefile	Sun Oct 11 19:02:18 2020	(r552075)
@@ -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