diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch new file mode 100644 index 0000000000..6e53d2e8b5 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From bec38a0c2e2958927c42b2f9ae939969b7c4a326 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <crg7475@mailbox.org> | ||
3 | Date: Tue, 21 May 2019 14:01:11 +0200 | ||
4 | Subject: [PATCH] viv-fb: Make sure config.h is included | ||
5 | |||
6 | This prevents build errors due to missing GST_API_* symbols | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> | ||
11 | --- | ||
12 | gst-libs/gst/gl/gl-prelude.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/gst-libs/gst/gl/gl-prelude.h b/gst-libs/gst/gl/gl-prelude.h | ||
16 | index 05e1f6229..96ce5e685 100644 | ||
17 | --- a/gst-libs/gst/gl/gl-prelude.h | ||
18 | +++ b/gst-libs/gst/gl/gl-prelude.h | ||
19 | @@ -22,6 +22,10 @@ | ||
20 | #ifndef __GST_GL_PRELUDE_H__ | ||
21 | #define __GST_GL_PRELUDE_H__ | ||
22 | |||
23 | +#ifdef HAVE_CONFIG_H | ||
24 | +#include "config.h" | ||
25 | +#endif | ||
26 | + | ||
27 | #include <gst/gst.h> | ||
28 | |||
29 | #ifdef BUILDING_GST_GL | ||
30 | -- | ||
31 | 2.17.1 | ||
32 | |||