multimedia/pvr250 port doesn't compile on FreeBSD 8

Stefan Ehmann shoesoft at
Fri May 14 07:07:02 UTC 2010

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


I stumbled across this problem some time ago in pvrxxx. I guess the fix should 
also work for pvr250:

It's probably not the cleanest solution, but pvrxxx works here on 8.0.


More information about the freebsd-multimedia mailing list