diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-05 13:34:53 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:30:01 +0000 |
commit | 3f024740df18e53ef5f9f3bad89968abae1664ec (patch) | |
tree | 7e3bd9740a425ed928b59eecccc4fcc210e73a82 /meta/recipes-multimedia | |
parent | 9b0a74a62188563871b617a18eef890a9d9875b9 (diff) | |
download | poky-3f024740df18e53ef5f9f3bad89968abae1664ec.tar.gz |
gstreamer1.0-plugins-good_git: avoid including <sys/poll.h> directly
musl libc generates warnings if <sys/poll.h> is included directly.
The warnings only cause problems for the git versions (-Werror is
turned off for GStreamer stable releases).
(From OE-Core rev: 4cb4be46ed1d825cb17c1a14820dcee7793c2523)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch | 44 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb | 1 |
2 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch new file mode 100644 index 0000000000..c7f3630eca --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 4bfe2c8570a4a7080ec662504882969054d8a072 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andre McCurdy <armccurdy@gmail.com> | ||
3 | Date: Wed, 3 Feb 2016 18:12:38 -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 | ext/raw1394/gstdv1394src.c | 2 +- | ||
13 | ext/raw1394/gsthdv1394src.c | 2 +- | ||
14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c | ||
17 | index dbc7607..3c42b41 100644 | ||
18 | --- a/ext/raw1394/gstdv1394src.c | ||
19 | +++ b/ext/raw1394/gstdv1394src.c | ||
20 | @@ -37,7 +37,7 @@ | ||
21 | #include "config.h" | ||
22 | #endif | ||
23 | #include <unistd.h> | ||
24 | -#include <sys/poll.h> | ||
25 | +#include <poll.h> | ||
26 | #include <sys/socket.h> | ||
27 | #include <errno.h> | ||
28 | #include <fcntl.h> | ||
29 | diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c | ||
30 | index 0b07a37..9785a15 100644 | ||
31 | --- a/ext/raw1394/gsthdv1394src.c | ||
32 | +++ b/ext/raw1394/gsthdv1394src.c | ||
33 | @@ -36,7 +36,7 @@ | ||
34 | #include "config.h" | ||
35 | #endif | ||
36 | #include <unistd.h> | ||
37 | -#include <sys/poll.h> | ||
38 | +#include <poll.h> | ||
39 | #include <sys/socket.h> | ||
40 | #include <errno.h> | ||
41 | #include <fcntl.h> | ||
42 | -- | ||
43 | 1.9.1 | ||
44 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb index 5f36f496e5..915be7302c 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb | |||
@@ -10,6 +10,7 @@ SRC_URI = " \ | |||
10 | git://anongit.freedesktop.org/gstreamer/gst-plugins-good;name=base \ | 10 | git://anongit.freedesktop.org/gstreamer/gst-plugins-good;name=base \ |
11 | git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \ | 11 | git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \ |
12 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ | 12 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ |
13 | file://avoid-including-sys-poll.h-directly.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | PV = "1.7.1+git${SRCPV}" | 16 | PV = "1.7.1+git${SRCPV}" |