diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-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/0002-avoid-including-sys-poll.h-directly.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch new file mode 100644 index 00000000..ead6897f --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 3b05e91720c10fcf6e0e408595b7217f6fa145c2 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 2/4] 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 ca6b92a..b2772db 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 | 2.28.0 | ||
30 | |||