freebsd-ports/multimedia/vdr/files/patch-PLUGINS-src-dvbsddevice-dvbsdffdevice.c
Juergen Lock 0f8592a752 Preliminary port of the vdr development branch, use at your own risk! :)
See vdr/webcamd dvb thread(s) on the freebsd-multimedia list for FreeBSD
notes, some links are here:

	http://people.freebsd.org/~nox/dvb/

and see these links for general vdr info:

	http://www.linuxtv.org/vdrwiki/index.php/Main_Page
	http://www.vdr-portal.de/

WWW: http://www.tvdr.de/
2011-03-26 19:13:50 +00:00

19 lines
503 B
C

--- PLUGINS/src/dvbsddevice/dvbsdffdevice.c.orig
+++ PLUGINS/src/dvbsddevice/dvbsdffdevice.c
@@ -6,12 +6,16 @@
* $Id: dvbsdffdevice.c 2.26 2010/01/30 10:05:23 kls Exp $
*/
+#include <stdint.h>
#include "dvbsdffdevice.h"
#include <errno.h>
#include <limits.h>
#include <linux/videodev2.h>
#include <linux/dvb/audio.h>
#include <linux/dvb/dmx.h>
+#ifdef __FreeBSD__
+typedef struct timespec __kernel_time_t;
+#endif
#include <linux/dvb/video.h>
#include <sys/ioctl.h>
#include <sys/mman.h>