From 288353ec746d91dd84e6abe76bf424909db82d1b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 22 Apr 2022 23:59:31 +0200 Subject: [PATCH] package/gstreamer1/gst1-plugins-good: fix build with gcc 4.8 Fix the following build failure with gcc 4.8 raised since bump to version 1.20.0 in commit 34317969278d7b6d923d4889fb4235f112b2b201: ../ext/soup/gstsouploader.c: In function 'gst_soup_load_library': ../ext/soup/gstsouploader.c:219:3: error: 'for' loop initial declarations are only allowed in C99 mode for (guint i = 0; i < len; i++) { ^ Fixes: - http://autobuild.buildroot.org/results/21792a9839d9722815075569123df8747fc450e3 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index 1168feb293..2b6cf769aa 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -10,6 +10,7 @@ GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ +GST1_PLUGINS_GOOD_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) GST1_PLUGINS_GOOD_CONF_OPTS = \