diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2019-12-22 15:22:37 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-22 20:15:05 -0300 |
commit | 7c5a040fb85512bfbf4db253240cda5617c238c0 (patch) | |
tree | 24619a3ca0346c291fd815e96910c850a19c5899 /recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch | |
parent | 12ebeeba3d9cbf00c8614441111d5e1a7a1ea419 (diff) | |
download | meta-freescale-7c5a040fb85512bfbf4db253240cda5617c238c0.tar.gz |
gstreamer1.0-plugins-bad: fix recipe and add patches from oe-core
Fix absolute search paths in the recipe, which attemped to use patches
directly from oe-core and keep those patches in this layer.
This would allow ease of tracking (patches could be dropped once version
is upgraded) and resolves the dependency from oe-core layer (no direct
inclusion necessary via env variables which is not present at every
build system setup).
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch new file mode 100644 index 000000000..32261279a --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 72561a0fca562d03567ace7b4cfc94992cd6525c Mon Sep 17 00:00:00 2001 | ||
2 | From: Andre McCurdy <armccurdy@gmail.com> | ||
3 | Date: Wed, 3 Feb 2016 18:05:41 -0800 | ||
4 | Subject: [PATCH] avoid including <sys/poll.h> directly | ||
5 | |||
6 | musl libc generates warnings if <sys/poll.h> is included directly. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | ||
11 | --- | ||
12 | sys/dvb/gstdvbsrc.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c | ||
16 | index b93255f..49f145a 100644 | ||
17 | --- a/sys/dvb/gstdvbsrc.c | ||
18 | +++ b/sys/dvb/gstdvbsrc.c | ||
19 | @@ -97,7 +97,7 @@ | ||
20 | #include <gst/gst.h> | ||
21 | #include <gst/glib-compat-private.h> | ||
22 | #include <sys/ioctl.h> | ||
23 | -#include <sys/poll.h> | ||
24 | +#include <poll.h> | ||
25 | #include <fcntl.h> | ||
26 | #include <errno.h> | ||
27 | #include <stdio.h> | ||
28 | -- | ||
29 | 1.9.1 | ||
30 | |||