From owner-freebsd-multimedia@FreeBSD.ORG Fri May 14 07:07:02 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4625C106568D for ; Fri, 14 May 2010 07:07:02 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 8C8628FC23 for ; Fri, 14 May 2010 07:07:01 +0000 (UTC) Received: (qmail invoked by alias); 14 May 2010 07:06:58 -0000 Received: from 85-127-157-245.dynamic.xdsl-line.inode.at (EHLO walrus.pepperland) [85.127.157.245] by mail.gmx.net (mp066) with SMTP; 14 May 2010 09:06:58 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/rFxNfGbXrv5IV00ohdJg42ys7C+6h5XKX19WxLz FJcs9bPypth5fS From: Stefan Ehmann To: freebsd-multimedia@freebsd.org Date: Fri, 14 May 2010 09:06:56 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-RELEASE; KDE/4.4.3; i386; ; ) References: <20100513233437.GR27722@danbala.tuwien.ac.at> In-Reply-To: <20100513233437.GR27722@danbala.tuwien.ac.at> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005140906.56328.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: edwin@mavetju.org, Thomas Klausner Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2010 07:07:02 -0000 On Friday 14 May 2010 01:34:37 Thomas Klausner wrote: > Hi! > > Today I downloaded FreeBSD 8/amd64 and tried installing the pvr250 > port. > > It didn't compile, same reason as: > http://forums.freebsd.org/showthread.php?t=9852 > > The first error is in cxm_open; the code there is > unit = UNIT( minor(dev) ); > where unit is an int, and UNIT is defined as #define UNIT(x) ((x) & 0x0f) > but that's not the reason, since I get the same error when I just > remove the UNIT(...) and leave > unit = minor(dev); > > There's also the question of how the patch-iic target should be > handled on FreeBSD>6 (see forum page cited above). > > Suggested patches? Hi, I stumbled across this problem some time ago in pvrxxx. I guess the fix should also work for pvr250: http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697.html It's probably not the cleanest solution, but pvrxxx works here on 8.0. -- Stefan