Files
void-packages/srcpkgs/zbar/patches/v4l1.patch
Jürgen Buchmüller 16abf7e150 New package: zbar-0.10
2017-05-04 11:16:05 +02:00

25 lines
790 B
Diff

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