[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multimedia/libdv fix for DragonFly



Hi,
attached is a small patch for multimedia/libdv, which is necessary for
the inclusion of sys/mman.h on DragonFly.

Joerg
Index: distinfo
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/pkgsrc/multimedia/libdv/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	24 Feb 2005 11:24:03 -0000	1.5
+++ distinfo	20 May 2005 17:33:05 -0000
@@ -4,3 +4,4 @@
 RMD160 (libdv-0.104.tar.gz) = a91708ecb75533caf2b9038ca68064c7707dcfdf
 Size (libdv-0.104.tar.gz) = 554691 bytes
 SHA1 (patch-aa) = 6910450f2c93ac4989e8c132368d208ddd65cf0d
+SHA1 (patch-ab) = 7b65a66a54c49e5bb7e902ba0cfc67f882b344f0
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-ab	20 May 2005 17:32:44 -0000
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- encodedv/dvconnect.c.orig	2005-05-20 19:07:43.000000000 +0200
++++ encodedv/dvconnect.c	2005-05-20 19:08:10.000000000 +0200
+@@ -29,6 +29,9 @@
+ 
+ #define _FILE_OFFSET_BITS 64
+ 
++#if defined(__DragonFly__)
++#include <sys/types.h>
++#endif
+ #include <stdio.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>