[Lunar-commits] <moonbase-other> unicap: Adusting the BUILD to account for a missing header and adding one.

Dennis Veatch dennisveatch at bellsouth.net
Fri Sep 12 14:25:37 CEST 2014


commit 56f8f6e2b3ace460cb086f10d15255e005f37d0f
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Fri, 12 Sep 2014 08:25:13 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/56f8f6e2b3ace460cb086f10d15255e005f37d0f

unicap: Adusting the BUILD to account for a missing header and adding one.
---
  libs/unicap/BUILD | +6/-3     
  1 file changed, 6 insertions(+), 3 deletions(-)

--- a/libs/unicap/BUILD
+++ b/libs/unicap/BUILD
@@ -1,11 +1,14 @@
-(
 
   patch_it $SOURCE2 1 &&
 
+# Removing some headers that don't exist and adding one.
+  sedit "s:#include <linux/videodev.h>::" cpi/v4l/v4l.c && 
+  sedit "s:#include <linux/videodev.h>::" cpi/v4l2cpi/uvcvideo.h &&
+  sedit "54i #include <libv4l1-videodev.h>" cpi/v4l/v4l.c &&
+  sedit "6i #include <libv4l1-videodev.h>" cpi/v4l2cpi/uvcvideo.h &&
+
 # To remove the logs from filling up with;
 # "...SYSFS{}= will be removed in a future udev version, please use ATTR{}..."
   sedit "s:SYSFS:ATTR:g" data/50-euvccam.rules &&
 
   default_build
-
-) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list