From 04a1c99476ec408e20e4a79834e293495897182a Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 7 Jun 2021 06:34:59 -0500 Subject: [PATCH] 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