summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mplayer/files/patch-libdha-pci_freebsd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libdha-pci_freebsd.c b/multimedia/mplayer/files/patch-libdha-pci_freebsd.c
new file mode 100644
index 000000000000..0cef8185f90f
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libdha-pci_freebsd.c
@@ -0,0 +1,14 @@
+--- libdha/sysdep/pci_freebsd.c.orig Fri May 26 15:26:22 2006
++++ libdha/sysdep/pci_freebsd.c Fri May 26 15:28:39 2006
+@@ -5,10 +5,7 @@
+ */
+ #include <errno.h>
+ #include <sys/file.h>
+-/* machine/console.h seems to be outdated by recent FreeBSD *
+- * however pcvt_ioctl.h seems to exist for very long time */
+-/* #include <machine/console.h>*/
+-#include <machine/pcvt_ioctl.h>
++#include <sys/kbio.h>
+ #ifndef GCCUSESGAS
+ #define GCCUSESGAS
+ #endif