File: 08_fix_build_fail.patch

package info (click to toggle)
dv4l 1.0-6
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: ansic: 7,541; makefile: 320; sh: 260
file content (26 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## 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;