summaryrefslogtreecommitdiff
path: root/multimedia/fxtv/files/patch-pixelview__remote.c
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2011-11-27 11:56:22 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2011-11-27 11:56:22 +0000
commit991b898e7243d26367b1162dafac85d9a7a68e07 (patch)
treea9cce23d899c029642919ecc464ab757f0de6e35 /multimedia/fxtv/files/patch-pixelview__remote.c
parent- Added metrics for clapf and postscreen (diff)
Re-add multimedia/fxtv and mplex
- update Mastersite - take maintainership from ports@FreeBSD.org. Feature safe: yes
Notes
Notes: svn path=/head/; revision=286500
Diffstat (limited to 'multimedia/fxtv/files/patch-pixelview__remote.c')
-rw-r--r--multimedia/fxtv/files/patch-pixelview__remote.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/fxtv/files/patch-pixelview__remote.c b/multimedia/fxtv/files/patch-pixelview__remote.c
new file mode 100644
index 000000000000..a6be8213c55b
--- /dev/null
+++ b/multimedia/fxtv/files/patch-pixelview__remote.c
@@ -0,0 +1,24 @@
+
+$FreeBSD$
+
+--- pixelview_remote.c.orig
++++ pixelview_remote.c
+@@ -39,9 +39,16 @@
+ #include <sys/fcntl.h>
+ #ifdef __NetBSD__
+ # include <dev/ic/bt8xx.h>
++#endif
++#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_meteor.h>
+-# include <machine/ioctl_bt848.h>
++#include <machine/ioctl_meteor.h>
++#include <machine/ioctl_bt848.h>
++#endif
+ #endif
+ #include "pixelview_remote.h"
+