git: e1265622205c - main - graphics/py-ueberzug: add USE_CSTD=c99 to fix build on GCC-based systems:

Mark Linimon linimon at FreeBSD.org
Mon Apr 19 10:43:24 UTC 2021


The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e1265622205c0a433caf60c8b410ad26b4676abf

commit e1265622205c0a433caf60c8b410ad26b4676abf
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-04-19 10:42:36 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-04-19 10:42:36 +0000

    graphics/py-ueberzug: add USE_CSTD=c99 to fix build on GCC-based systems:
    
      Xshm/Xshm.c:209: error: 'for' loop initial declaration used outside C99 mode
---
 graphics/py-ueberzug/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/py-ueberzug/Makefile b/graphics/py-ueberzug/Makefile
index 979f7fa5fb8f..997b89a652b1 100644
--- a/graphics/py-ueberzug/Makefile
+++ b/graphics/py-ueberzug/Makefile
@@ -16,6 +16,7 @@ RUN_DEPENDS=	${PY_PILLOW} \
 		${PYTHON_PKGNAMEPREFIX}xlib>=0:x11-toolkits/py-xlib@${PY_FLAVOR}
 
 USES=		localbase python:3.6+ shebangfix xorg
+USE_CSTD=	c99
 USE_GITHUB=	yes
 GH_ACCOUNT=	seebye
 USE_PYTHON=	autoplist concurrent distutils


More information about the dev-commits-ports-all mailing list