Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 11:36:20 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: 04a1c99476ec - main - games/libmanette: fix build on GCC-based systems
Message-ID:  <202106071136.157BaKRs007066@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=04a1c99476ec408e20e4a79834e293495897182a

commit 04a1c99476ec408e20e4a79834e293495897182a
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-06-07 11:34:59 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2021-06-07 11:36:15 +0000

    games/libmanette: fix build on GCC-based systems
    
    by adding compiler:c11 to USES:
    
       ../src/manette-mapping.c:433: error: 'for' loop initial declaration used outside C99 mode
---
 games/libmanette/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/libmanette/Makefile b/games/libmanette/Makefile
index 0acb22c2ebda..e568c33733d9 100644
--- a/games/libmanette/Makefile
+++ b/games/libmanette/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	vapigen:lang/vala \
 LIB_DEPENDS=	libevdev.so:devel/libevdev \
 		libgudev-1.0.so:devel/libgudev
 
-USES=		gnome meson pkgconfig tar:xz
+USES=		compiler:c11 gnome meson pkgconfig tar:xz
 USE_GNOME=	glib20 introspection
 USE_LDCONFIG=	yes
 



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