From 778fe103a67b47aa606e11021eca9bdc396aa9ca Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 7 Oct 2020 21:12:53 +0000 Subject: [PATCH] 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 --- finance/beancount/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finance/beancount/Makefile b/finance/beancount/Makefile index ff5f96fa73f7..e9acb452680c 100644 --- a/finance/beancount/Makefile +++ b/finance/beancount/Makefile @@ -29,7 +29,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_F ${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