From owner-freebsd-ports@FreeBSD.ORG Fri May 26 16:32:57 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 601A016AD10 for ; Fri, 26 May 2006 16:32:57 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id F398343D46 for ; Fri, 26 May 2006 16:32:56 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 7D01724B159; Fri, 26 May 2006 18:32:55 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.13.6/8.13.6) with ESMTP id k4QGWZ8N020374; Fri, 26 May 2006 18:32:35 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.6/8.13.6/Submit) id k4QGWZiP020373; Fri, 26 May 2006 18:32:35 +0200 (CEST) (envelope-from schweikh) Date: Fri, 26 May 2006 18:32:35 +0200 From: Jens Schweikhardt To: riggs@rrr.de Message-ID: <20060526163235.GC35337@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: ports@freebsd.org Subject: mplayer port fix to deal with pcvt de-orbit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 16:33:04 -0000 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 #include -/* machine/console.h seems to be outdated by recent FreeBSD * - * however pcvt_ioctl.h seems to exist for very long time */ -/* #include */ -#include +#include #ifndef GCCUSESGAS #define GCCUSESGAS #endif Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)