Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
From 012ca1bcd234ee02f576dd58b1f09baba18b89b0 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 14 Dec 2020 07:42:55 +0100
|
||||
Subject: [PATCH] gst-libs/gst/video/gstvideoaggregator.c: fix build with gcc
|
||||
4.8
|
||||
|
||||
Fix the following build failure with gcc 4.8 which has been added with
|
||||
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/d268c193ad39fb970351ed62898be806ebd0a71e:
|
||||
|
||||
../gst-libs/gst/video/gstvideoaggregator.c: In function 'gst_video_aggregator_init':
|
||||
../gst-libs/gst/video/gstvideoaggregator.c:2762:3: error: 'for' loop initial declarations are only allowed in C99 mode
|
||||
for (gint i = 0; i < gst_caps_get_size (src_template); i++) {
|
||||
^
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status:
|
||||
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/974]
|
||||
---
|
||||
gst-libs/gst/video/gstvideoaggregator.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c
|
||||
index 2e3d813be..04dad6563 100644
|
||||
--- a/gst-libs/gst/video/gstvideoaggregator.c
|
||||
+++ b/gst-libs/gst/video/gstvideoaggregator.c
|
||||
@@ -2786,6 +2786,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg,
|
||||
{
|
||||
GstCaps *src_template;
|
||||
GstPadTemplate *pad_template;
|
||||
+ gint i;
|
||||
|
||||
vagg->priv = gst_video_aggregator_get_instance_private (vagg);
|
||||
vagg->priv->current_caps = NULL;
|
||||
@@ -2800,7 +2801,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg,
|
||||
pad_template =
|
||||
gst_element_class_get_pad_template (GST_ELEMENT_CLASS (klass), "src");
|
||||
src_template = gst_pad_template_get_caps (pad_template);
|
||||
- for (gint i = 0; i < gst_caps_get_size (src_template); i++) {
|
||||
+ for (i = 0; i < gst_caps_get_size (src_template); i++) {
|
||||
const GValue *v =
|
||||
gst_structure_get_value (gst_caps_get_structure (src_template, i),
|
||||
"format");
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.18.1.tar.xz.sha256sum
|
||||
sha256 1ba654d7de30f7284b4c7071b32f881b609733ce02ab6d9d9ea29386a036c641 gst-plugins-base-1.18.1.tar.xz
|
||||
# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.18.3.tar.xz.sha256sum
|
||||
sha256 dbfa20283848f0347a223dd8523dfb62e09e5220b21b1d157a8b0c8b67ba9f52 gst-plugins-base-1.18.3.tar.xz
|
||||
sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GST1_PLUGINS_BASE_VERSION = 1.18.1
|
||||
GST1_PLUGINS_BASE_VERSION = 1.18.3
|
||||
GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz
|
||||
GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base
|
||||
GST1_PLUGINS_BASE_INSTALL_STAGING = YES
|
||||
|
||||
Reference in New Issue
Block a user