summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-01-13 12:48:37 +0100
committerAlexis Ballier <aballier@gentoo.org>2018-01-13 13:16:25 +0100
commit92a290bd2384b4c786b0722e2f853b82dd0b15be (patch)
tree17b97fea2d37a97de6bf63b3d4ee54c23cda44fc /media-tv/v4l-utils/files
parentmedia-libs/libv4l: bump to 1.14.1 (diff)
downloadgentoo-92a290bd2384b4c786b0722e2f853b82dd0b15be.tar.gz
gentoo-92a290bd2384b4c786b0722e2f853b82dd0b15be.tar.bz2
gentoo-92a290bd2384b4c786b0722e2f853b82dd0b15be.zip
media-tv/v4l-utils: bump to 1.14.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-tv/v4l-utils/files')
-rw-r--r--media-tv/v4l-utils/files/v4l-utils-1.14.1-sysmacros.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/files/v4l-utils-1.14.1-sysmacros.patch b/media-tv/v4l-utils/files/v4l-utils-1.14.1-sysmacros.patch
new file mode 100644
index 000000000000..b8190507fc7d
--- /dev/null
+++ b/media-tv/v4l-utils/files/v4l-utils-1.14.1-sysmacros.patch
@@ -0,0 +1,26 @@
+Index: v4l-utils-1.14.1/lib/libv4lconvert/control/libv4lcontrol.c
+===================================================================
+--- v4l-utils-1.14.1.orig/lib/libv4lconvert/control/libv4lcontrol.c
++++ v4l-utils-1.14.1/lib/libv4lconvert/control/libv4lcontrol.c
+@@ -20,9 +20,7 @@
+ */
+
+ #include <sys/types.h>
+-#if defined(MAJOR_IN_SYSMACROS)
+ #include <sys/sysmacros.h>
+-#endif
+ #include <sys/mman.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+Index: v4l-utils-1.14.1/utils/v4l2-ctl/v4l2-ctl.cpp
+===================================================================
+--- v4l-utils-1.14.1.orig/utils/v4l2-ctl/v4l2-ctl.cpp
++++ v4l-utils-1.14.1/utils/v4l2-ctl/v4l2-ctl.cpp
+@@ -21,6 +21,7 @@
+ */
+
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>