I know that many of these entries are bogus and need to be revisited, but let's get the tree working again for now and then do a pass through looking at all the __FreeBSD__ entries, shall we?
What follows are the changes I made to make XChess compile. There are still a couple of bugs left which maybe someone else will fix.