summaryrefslogtreecommitdiff
path: root/graphics/libv4l/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libv4l/patches/patch-ae')
-rw-r--r--graphics/libv4l/patches/patch-ae4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libv4l/patches/patch-ae b/graphics/libv4l/patches/patch-ae
index 3777f3d0693..4612fa4926c 100644
--- a/graphics/libv4l/patches/patch-ae
+++ b/graphics/libv4l/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.2 2008/09/08 19:10:20 jmcneill Exp $
+$NetBSD: patch-ae,v 1.3 2010/12/27 04:58:10 obache Exp $
--- libv4l2/log.c.orig 2008-09-08 14:45:43.000000000 -0400
+++ libv4l2/log.c 2008-09-08 14:47:53.000000000 -0400
@@ -23,7 +23,7 @@ $NetBSD: patch-ae,v 1.2 2008/09/08 19:10:20 jmcneill Exp $
#include "libv4l2.h"
#include "libv4l2-priv.h"
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#define _IOC_NR(x) ((x) & 0xff)
+#define _IOC_TYPE IOCGROUP
+#endif