A few things I ran into:<br><br>FreeBSD doesn't have a definition for LONG_LONG_MIN, which is used in a number of places. I'm pretty sure the standard spelling is LLONG_MIN. That works on both FreeBSD and Linux.<br><br>FreeBSD doesn't implement memalign(). There's one use of this function in videoout_xv.cpp which doesn't have the MEMALIGN_HACK workaround.
<br><br>DisplayResX.cpp didn't compile properly due to missing type definitions in <iostream>. Moving the includes of DisplayResX.h and <iostream> above the X11 includes seemed to fix that problem.<br><br>I'll submit patches later today. I just wanted to give a heads-up in the meantime.
<br><br>Carl Fongheiser<br>