summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch44
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb1
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 @@
1From 4bfe2c8570a4a7080ec662504882969054d8a072 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Wed, 3 Feb 2016 18:12:38 -0800
4Subject: [PATCH] avoid including <sys/poll.h> directly
5
6musl libc generates warnings if <sys/poll.h> is included directly.
7
8Upstream-Status: Pending
9
10Signed-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
16diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c
17index 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>
29diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c
30index 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--
431.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
15PV = "1.7.1+git${SRCPV}" 16PV = "1.7.1+git${SRCPV}"