Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 10:43:24 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e1265622205c - main - graphics/py-ueberzug: add USE_CSTD=c99 to fix build on GCC-based systems:
Message-ID:  <202104191043.13JAhOVp018459@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon:

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

commit e1265622205c0a433caf60c8b410ad26b4676abf
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-04-19 10:42:36 +0000
Commit:     Mark Linimon <linimon@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104191043.13JAhOVp018459>