aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mplayer/files/patch-demux-tvi_bsdbt848.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/multimedia/mplayer/files/patch-demux-tvi_bsdbt848.c b/multimedia/mplayer/files/patch-demux-tvi_bsdbt848.c
index 900a5c11bb99..e106acaec16e 100644
--- a/multimedia/mplayer/files/patch-demux-tvi_bsdbt848.c
+++ b/multimedia/mplayer/files/patch-demux-tvi_bsdbt848.c
@@ -1,6 +1,19 @@
---- libmpdemux/tvi_bsdbt848.c.orig Tue Jan 14 19:20:17 2003
-+++ libmpdemux/tvi_bsdbt848.c Fri Aug 29 11:08:51 2003
-@@ -357,6 +357,12 @@
+--- libmpdemux/tvi_bsdbt848.c.orig Mon Jun 2 00:30:37 2003
++++ libmpdemux/tvi_bsdbt848.c Tue Dec 16 00:55:43 2003
+@@ -39,8 +39,12 @@
+ #include <signal.h>
+ #include <string.h>
+
++#include <sys/param.h>
+ #ifdef __NetBSD__
+ #include <dev/ic/bt8xx.h>
++#elif __FreeBSD_version >= 502100
++#include <dev/bktr/ioctl_meteor.h>
++#include <dev/bktr/ioctl_bt848.h>
+ #else
+ #include <machine/ioctl_meteor.h>
+ #include <machine/ioctl_bt848.h>
+@@ -357,6 +361,12 @@
perror("fps:ioctl");
return(0);
}