X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-cinelerra-cv.git;a=blobdiff_plain;f=patches%2Fpatch-vdevicev4l_h;fp=patches%2Fpatch-vdevicev4l_h;h=642c05adead1c278b18cb5444b03d965abad1ac0;hp=0000000000000000000000000000000000000000;hb=eb36dc125c0fbb36e7b01e18a64f8b1eed4bd8b2;hpb=7dddc5098a70b61fa8021db2e051d5b4a8403aa1 diff --git a/patches/patch-vdevicev4l_h b/patches/patch-vdevicev4l_h new file mode 100644 index 0000000..642c05a --- /dev/null +++ b/patches/patch-vdevicev4l_h @@ -0,0 +1,28 @@ +$NetBSD$ + +--- cinelerra/vdevicev4l.h.orig 2010-01-29 08:20:15.000000000 +0000 ++++ cinelerra/vdevicev4l.h +@@ -23,7 +23,9 @@ + #define VDEVICEV4L_H + + #include "vdevicebase.h" +-#include ++#if defined(HAVE_LINUX_VIDEODEV_H) ++# include ++#endif + #include "videodevice.inc" + + class VDeviceV4L : public VDeviceBase +@@ -66,10 +68,12 @@ private: + int colormodel; + + // Video4Linux ++#if defined(HAVE_LINUX_VIDEODEV_H) + struct video_capability cap1; + struct video_window window_params; + struct video_picture picture_params; + struct video_mbuf capture_params; // Capture for Video4Linux ++#endif + + // Common + char *capture_buffer; // sequentual capture buffers for v4l1 or read buffer for v4l2