Hi!
Just wanted to report that bennugd compiles and runs successfully on FreeBSD, I was able to compile and run Railroad Rampage game. I've also added bennugd to FreeBSD ports collection (
http://www.freshports.org/devel/bennugd-core/,
http://www.freshports.org/devel/bennugd-modules/). There are, however, some fixes/improvements I'd like to share.
First, there is a bunch of patches:
http://amdmi3.ru/files/bgd/.
patch-bgdrtm-src-dirs.c and patch-mod_mem-mod_mem.c are for core/ and modules/ respectively and are pretty straightforward ones.
patch-configure is needed for both core and modules, and addresses two problems: not defining TARGET_BSD on FreeBSD, and fixed checking for des. Not sure where your des.h comes from, but on both my FreeBSD and Linux boxes there's only openssl/des.h - the one from openssl, and DES functions there are named DES_ (des_ are macros, so these can't be used in configure checks). This fix (if applied) should be applied to configure.in, obviously. patch-include-crypt.h is the same thing.
Another change I've done for FreeBSD port is installing modules to ${PREFIX}/lib/bennugd instead of ${PREFIX}/lib. Since files there have very generic names (libtext, libmouse, libfont, mod_ as well) and are only used by bennugd, this is better than creating mess in lib/.
Also, I'd like to ask you to release source tarballs along with binaries. Most source-based packaging systems use checksums to verify distfile integrity, so they need files. For this port, I've packaged SVN snapshot of r112 myself (
http://mirror.amdmi3.ru/distfiles/bennugd-r20091106.tar.gz).
Finally, I've just noticed that bgdc segfaults while compiling named Railroad Rampage on amd64. Will investigate that.