Package: w3cam
Version: 0.7.2-6
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmp0_xBgo
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/control: add libv4l1-dev to build-depends (LP: #756150)
  * replace linux/videodev.h includes with libv4l1-videodev.h,
    this fixes a ftbfs.


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty
  APT policy: (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/control'
--- debian/control	2009-04-12 17:05:22 +0000
+++ debian/control	2011-04-14 20:48:19 +0000
@@ -1,8 +1,9 @@
 Source: w3cam
 Section: web
 Priority: optional
-Build-Depends: debhelper (>> 7.0.0), libjpeg62-dev, libpng3-dev, libfreetype6-dev, zlib1g-dev
+Build-Depends: debhelper (>> 7.0.0), libjpeg62-dev, libpng3-dev, libfreetype6-dev, zlib1g-dev, libv4l-dev
 Standards-Version: 3.8.1
 Homepage: http://mpx.freeshell.net/
 

=== modified file 'v4l.c'
--- v4l.c	2002-02-22 10:33:12 +0000
+++ v4l.c	2011-04-14 20:48:19 +0000
@@ -26,7 +26,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <linux/types.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #include "v4l.h"
 
 #define min(a,b) ((a) < (b) ? (a) : (b))

=== modified file 'vidcat.c'
--- vidcat.c	2002-02-22 10:33:12 +0000
+++ vidcat.c	2011-04-14 20:48:19 +0000
@@ -30,7 +30,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <linux/types.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #ifdef HAVE_LIBZ
 #include <zlib.h>
 #endif

=== modified file 'w3cam.c'
--- w3cam.c	2002-02-22 10:33:12 +0000
+++ w3cam.c	2011-04-14 20:48:19 +0000
@@ -36,7 +36,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <linux/types.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #ifdef HAVE_LIBZ
 #include <zlib.h>
 #endif

=== modified file 'w3camd/w3v4l.c'
--- w3camd/w3v4l.c	2002-02-22 10:33:12 +0000
+++ w3camd/w3v4l.c	2011-04-14 20:48:19 +0000
@@ -28,7 +28,7 @@
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <linux/types.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #include "w3v4l.h"
 
 /*

Reply via email to