svn commit: r551664 - head/finance/beancount

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 7 21:12:54 UTC 2020


Author: pkubaj
Date: Wed Oct  7 21:12:53 2020
New Revision: 551664
URL: https://svnweb.freebsd.org/changeset/ports/551664

Log:
  finance/beancount: fix build on GCC architectures
  
  Use C11 compiler:
  beancount/parser/lexer.c:172: error: redefinition of typedef 'yyscan_t'
  beancount/parser/parser.h:11: error: previous declaration of 'yyscan_t' was here

Modified:
  head/finance/beancount/Makefile

Modified: head/finance/beancount/Makefile
==============================================================================
--- head/finance/beancount/Makefile	Wed Oct  7 20:53:25 2020	(r551663)
+++ head/finance/beancount/Makefile	Wed Oct  7 21:12:53 2020	(r551664)
@@ -29,7 +29,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:w
 		${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		compiler:c11 python:3.5+
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils noflavors
 


More information about the svn-ports-all mailing list