summaryrefslogtreecommitdiff
path: root/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-11 09:12:41 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-11 09:12:41 +0000
commit343a7272d559a21a0e0ed13cb743fabb2bfcc479 (patch)
treedb03f20672a6244296ccc2aa27e70757937eb9f7 /www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch
parent456dbeaab3e2f71f527eae542ab44d1e372b0655 (diff)
gentoo resync : 11.01.2018
Diffstat (limited to 'www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch')
-rw-r--r--www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch b/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch
new file mode 100644
index 000000000000..112b839016f9
--- /dev/null
+++ b/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch
@@ -0,0 +1,11 @@
+diff -aurN a/src/ppb_video_capture.c b/src/ppb_video_capture.c
+--- a/src/ppb_video_capture.c 2017-12-23 09:34:01.000000000 -0500
++++ b/src/ppb_video_capture.c 2018-01-10 20:03:05.498415644 -0500
+@@ -75,6 +75,7 @@
+
+ #if !HAVE_LIBV4L2
+ // define simple wrappers, if libv4l2 is not used
++#include <sys/ioctl.h>
+ static
+ ssize_t
+ v4l2_read(int fd, void *buffer, size_t n)