diff options
Diffstat (limited to 'multimedia/dtv/files/patch-aa')
-rw-r--r-- | multimedia/dtv/files/patch-aa | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/dtv/files/patch-aa b/multimedia/dtv/files/patch-aa index 020fcbab6c1d..352edad42153 100644 --- a/multimedia/dtv/files/patch-aa +++ b/multimedia/dtv/files/patch-aa @@ -1,10 +1,20 @@ ---- defs.h.orig Sat Sep 7 16:44:57 2002 -+++ defs.h Sat Sep 7 16:45:03 2002 -@@ -12,7 +12,7 @@ +--- defs.h.orig Mon Feb 11 04:14:17 2002 ++++ defs.h Sun Feb 1 20:01:30 2004 +@@ -10,9 +10,17 @@ + #include <sys/mman.h> + #include <sys/ipc.h> #include <sys/shm.h> ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#if __FreeBSD_version > 500000 ++#include <dev/bktr/ioctl_bt848.h> ++#include <dev/bktr/ioctl_meteor.h> ++#else #include <machine/ioctl_bt848.h> #include <machine/ioctl_meteor.h> -#include <machine/soundcard.h> ++#endif ++#endif +#include <sys/soundcard.h> #include <stdio.h> #include <stdlib.h> |