pkgsrc/graphics/unicap/patches/patch-am
jmcneill ab26aff16f Update unicap to 0.9.3.
0.9.3:
- optionally use libv4l to support more cameras
- fix installation directory of plugins for x64 systems
- fix scaling of ogg/theora video
- use categories for v4l2 properties

0.9.2:
- Severall small bug fixes and improvements ( see ChangeLog )
- The EeePC packages got updated
2009-01-08 01:08:37 +00:00

26 lines
561 B
Text

$NetBSD: patch-am,v 1.2 2009/01/08 01:08:37 jmcneill Exp $
--- cpi/v4l2cpi/tiseuvccam.c.orig 2008-10-03 02:56:40.000000000 -0400
+++ cpi/v4l2cpi/tiseuvccam.c
@@ -12,7 +12,6 @@
#include <limits.h>
#include <stdlib.h>
-#include <linux/types.h>
#include <string.h>
#include <libgen.h>
#include <stdio.h>
@@ -20,7 +19,12 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+#ifdef __linux__
+#include <linux/types.h>
#include <linux/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
+#endif
#include "uvc_compat.h"