From 93b60a6e4a656ee065c2614d6384621886a89050 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sat, 6 Jun 2020 05:44:12 +0000 Subject: [PATCH] Add USE_CSTD=c99 to fix build on GCC-based systems: ../playerctl/playerctl-player.c:930: error: 'for' loop initial declaration used outside C99 mode Approved by: portmgr (tier-2 blanket) --- multimedia/playerctl/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/multimedia/playerctl/Makefile b/multimedia/playerctl/Makefile index 84643fee7f14..68924d08f9f1 100644 --- a/multimedia/playerctl/Makefile +++ b/multimedia/playerctl/Makefile @@ -13,6 +13,7 @@ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome meson pkgconfig +USE_CSTD= c99 USE_GNOME= glib20 USE_LDCONFIG= yes