package/kodi-visualisation-goom: fix build with gcc-4.9

Fixes build error:

output/build/kodi-visualisation-goom-2.1.0-Leia/lib/goom/src/lines.c:
In function 'goom_lines_draw':
output/build/kodi-visualisation-goom-2.1.0-Leia/lib/goom/src/lines.c:232:3:
error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int i = 1; i < AUDIO_SAMPLE_LEN; i++) {

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2020-01-27 19:54:13 +01:00 committed by Peter Korsgaard
parent f11c8d8ab5
commit f36b03e25c

View file

@ -11,4 +11,7 @@ KODI_VISUALISATION_GOOM_LICENSE_FILES = src/Main.cpp
KODI_VISUALISATION_GOOM_DEPENDENCIES = glm kodi
KODI_VISUALISATION_GOOM_CONF_OPTS += \
-DCMAKE_C_FLAGS="-std=c11"
$(eval $(cmake-package))