summaryrefslogtreecommitdiff
path: root/community/zbar/v4l1.patch
blob: 150b0e6952085e463891bad3c8f95973ed2417fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Thanks to Andy Weidenbaum <archbaum@gmail.com> for providing this patch!

--- ./zbar/video/v4l1.c	2013-03-06 23:24:22.996336417 -0800
+++ ./zbar/video/v4l1.c	2013-03-06 23:29:29.789662369 -0800
@@ -41,7 +41,7 @@
 #ifdef HAVE_SYS_MMAN_H
 # include <sys/mman.h>
 #endif
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 
 #include "video.h"
 #include "image.h"
--- ./configure	2009-10-23 11:17:24.000000000 -0700
+++ ./configure	2013-03-06 23:47:33.902966990 -0800
@@ -18709,7 +18709,7 @@
 if test "x$enable_video" != "xno"; then
   if test "x$win32" = "xno"; then
 
-for ac_header in linux/videodev.h
+for ac_header in libv4l1-videodev.h
 do
 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then