Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 18:32:35 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        riggs@rrr.de
Cc:        ports@freebsd.org
Subject:   mplayer port fix to deal with pcvt de-orbit
Message-ID:  <20060526163235.GC35337@schweikhardt.net>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060526163235.GC35337>