## 08_fix_build_fail.dpatch by Daniel Polehn <dpolehn@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' dv4l-1~/dv4l.c dv4l-1/dv4l.c
--- dv4l-1~/dv4l.c	2011-06-28 22:30:02.173394425 -0700
+++ dv4l-1/dv4l.c	2011-06-28 22:30:30.833436470 -0700
@@ -76,7 +76,7 @@
 
 #define NUM_BUFS 8
 
-typedef enum { MmapMode = 1, WriteMode } mode_t;
+typedef enum { MmapMode = 1, WriteMode } rmode_t;
 typedef struct {
     struct video_mbuf vmbuf;
     unsigned char *vframebuf;
@@ -89,7 +89,7 @@
     int v_cnt;
     int rgbonly;
     int v_vfd;
-    mode_t v_mode;
+    rmode_t v_mode;
     struct video_capability vcap;
     struct video_channel vchan;
     struct video_picture vpic;
