mplayer port fix to deal with pcvt de-orbit

Alexander Leidinger Alexander at Leidinger.net
Sat May 27 01:27:33 PDT 2006


Quoting Jens Schweikhardt <schweikh at schweikhardt.net> (Fri, 26 May 2006 18:32:35 +0200):

> 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.

The same seems to be true for libxine (I think they share the
same/similar code). Maintainer CCed.

Bye,
Alexander.

> --- 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


-- 
Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR
you have to pick it up between Germany/Saarland and Luxembourg/Capellen
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-ports mailing list