aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-05-27 23:18:29 +0800
committersem <sem@FreeBSD.org>2006-05-27 23:18:29 +0800
commitfab89321c54f8dfa395411c839c0e202c946a6be (patch)
treef2635a272f62cd8eac4974b2b7ef6682855d578a /multimedia/mplayer
parent8f577079ccfd622a752fbcbec89de29b394dc0cb (diff)
downloadfreebsd-ports-graphics-fab89321c54f8dfa395411c839c0e202c946a6be.tar.gz
freebsd-ports-graphics-fab89321c54f8dfa395411c839c0e202c946a6be.tar.zst
freebsd-ports-graphics-fab89321c54f8dfa395411c839c0e202c946a6be.zip
- Fix build on 7.0
Submitted by: glebius Approved by: portmgr (krion)
Diffstat (limited to 'multimedia/mplayer')
-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 00000000000..0cef8185f90
--- /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