git: 4e993bb24a9d - main - audio/littlefly-lv2: add compiler:c11 to USES to fix build on GCC-based systems:
Mark Linimon
linimon at FreeBSD.org
Sun Apr 11 21:22:36 UTC 2021
The branch main has been updated by linimon:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e993bb24a9da1aef8618b4aa059d7d3edca46be
commit 4e993bb24a9da1aef8618b4aa059d7d3edca46be
Author: Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-04-11 20:57:45 +0000
Commit: Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-04-11 21:01:03 +0000
audio/littlefly-lv2: add compiler:c11 to USES
to fix build on GCC-based systems:
../xputty/widgets/xmeter_private.c:41: error: 'for' loop initial declaration used outside C99 mode
---
audio/littlefly-lv2/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/littlefly-lv2/Makefile b/audio/littlefly-lv2/Makefile
index f35eff5713e0..8501f4ccb82b 100644
--- a/audio/littlefly-lv2/Makefile
+++ b/audio/littlefly-lv2/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= gmake gnome localbase pkgconfig xorg
+USES= compiler:c11 gmake gnome localbase pkgconfig xorg
USE_GNOME= cairo
USE_XORG= x11
USE_BINUTILS= yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9
More information about the dev-commits-ports-all
mailing list