[MPlayer-dev-eng] [PATCH] FreeBSD/DragonFly kbd handling

Joerg Sonnenberger joerg at britannica.bec.de
Mon May 23 15:03:22 CEST 2005


Hi all,
the attached patch uses the public sys/kbio.h header instead of messing
with the MI headers. The latter doesn't exist anymore on DragonFly.
The maintainer of the FreeBSD port agreed with the patch.

Joerg
-------------- next part --------------
--- libdha/sysdep/pci_freebsd.c.orig	2002-05-03 14:56:29.000000000 +0200
+++ libdha/sysdep/pci_freebsd.c	2005-05-23 15:02:54.000000000 +0200
@@ -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


More information about the MPlayer-dev-eng mailing list