From c51240622ae0a8322b46d59874f4215b13cbcfc1 Mon Sep 17 00:00:00 2001 From: Robert Noland Date: Mon, 17 May 2010 19:46:26 +0000 Subject: Now, Fix the build on <= 8. --- multimedia/pwcbsd/files/extra-patch-pwc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'multimedia/pwcbsd/files/extra-patch-pwc.c') diff --git a/multimedia/pwcbsd/files/extra-patch-pwc.c b/multimedia/pwcbsd/files/extra-patch-pwc.c index 9e8fe3bc6b4b..9123b65f4f16 100644 --- a/multimedia/pwcbsd/files/extra-patch-pwc.c +++ b/multimedia/pwcbsd/files/extra-patch-pwc.c @@ -1,5 +1,5 @@ --- pwc.c.orig 2007-10-09 02:14:01.000000000 -0500 -+++ pwc.c 2010-05-17 10:52:45.000000000 -0500 ++++ pwc.c 2010-05-17 14:44:45.000000000 -0500 @@ -28,7 +28,8 @@ #include "pwc-dec1.h" #include "pwc-dec23.h" @@ -415,7 +415,7 @@ } int -+#if D_VERSION == D_VERSION_03 ++#ifdef D_VERSION_03 +pwc_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, + __unused vm_memattr_t *memattr) +#else -- cgit v1.2.3