git: 04a1c99476ec - main - games/libmanette: fix build on GCC-based systems

Mark Linimon linimon at FreeBSD.org
Mon Jun 7 11:36:20 UTC 2021


The branch main has been updated by linimon:

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

commit 04a1c99476ec408e20e4a79834e293495897182a
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-07 11:34:59 +0000
Commit:     Mark Linimon <linimon at 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
 


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