hi,
I'm working on making the fam source compile on freebsd. here are a few
patches that help make this work.
configuration.patch alters configure.ac and config.h.in to look for several
headers which are assumed to exist in the code, and adds a HAVE_XXX_H
define.
src.patch fixes up a few header includes in the fam/src/ dir. nothing
major.
mntent-include-fix.patch, mntent_compat.h, and mntent_compat.c++ offer a
compatibility layer for operating systems which don't have mntent.h built in
naturally. if the os has one, then that one is used. otherwise, we use
this implementation (which does the same thing).
using these patches (and new files), I was able to compile on FreeBSD 4
machine using the following version of ports
autoconf-2.59
automake-1.5,1
m4-1.4
libtool-1.5.2
I followed these steps to build it after applying the patches:
% libtoolize --force
% aclocal
% automake
% autoconf
% ./configure
% make
And it compiled.
I also tested these changes on a Linux machine, and they seem to work ok.
dave
src.patch
Description: Binary data
configuration.patch
Description: Binary data
mntent-include-fix.patch
Description: Binary data
mntent_compat.h
Description: Binary data
mntent_compat.c++
Description: Binary data
|