svn commit: r523751 - head/graphics/qr-code-generator

Mark Linimon linimon at FreeBSD.org
Tue Jan 21 22:55:10 UTC 2020


Author: linimon
Date: Tue Jan 21 22:55:09 2020
New Revision: 523751
URL: https://svnweb.freebsd.org/changeset/ports/523751

Log:
  Fix build on GCC-based systems:
  
    BitBuffer.cpp:30: error: invalid use of incomplete type 'struct qrcodegen::BitBuffer'
  
  USE_CSTD=c99 was not sufficient:
  
    qrcodegen.c:149: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/graphics/qr-code-generator/Makefile

Modified: head/graphics/qr-code-generator/Makefile
==============================================================================
--- head/graphics/qr-code-generator/Makefile	Tue Jan 21 22:43:38 2020	(r523750)
+++ head/graphics/qr-code-generator/Makefile	Tue Jan 21 22:55:09 2020	(r523751)
@@ -10,7 +10,7 @@ COMMENT=	High-quality QR Code generator library
 
 LICENSE=	MIT
 
-USES=	gmake
+USES=		compiler:c++11-lang gmake
 
 USE_LDCONFIG=	yes
 


More information about the svn-ports-all mailing list