mplayer port fix to deal with pcvt de-orbit

Jens Schweikhardt schweikh at schweikhardt.net
Fri May 26 09:33:04 PDT 2006


Hello *,

after support for pcvt was axed from FreeBSD-current a few days ago,
the mplayer port needs another patch to compile. I have tested this
on 7-current (HEAD) but not on 6-stable (RELENG_6). Put this patch in
/usr/ports/multimedia/mplayer/files/patch-libdha-sysdep-pci_freebsd.c
and run make.
The issue is the ioctls for KDENABIO and KDDISABIO are in sys/kbio.h.
Since they are there since rev. 1.1 I expect this to compile on RELENG_6
as well.


--- libdha/sysdep/pci_freebsd.c.orig	Fri May 26 18:02:33 2006
+++ libdha/sysdep/pci_freebsd.c	Fri May 26 18:03:04 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

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)


More information about the freebsd-ports mailing list