summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-05-27 15:18:29 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-05-27 15:18:29 +0000
commite529d3fa56cd99baf460710bb719d3269e1435f4 (patch)
tree853cefe0499ac7d0164625a6d81af2499ce96058
parentFix patch. (diff)
- Fix build on 7.0
Submitted by: glebius Approved by: portmgr (krion)
Notes
Notes: svn path=/head/; revision=163615
-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