fam
[Top] [All Lists]

patches to 2.7.0 codebase

To: fam@xxxxxxxxxxx
Subject: patches to 2.7.0 codebase
From: "Viner, David" <dviner@xxxxxxxxxxxxx>
Date: Fri, 6 Aug 2004 15:07:43 -0700
Sender: fam-bounce@xxxxxxxxxxx
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

Attachment: src.patch
Description: Binary data

Attachment: configuration.patch
Description: Binary data

Attachment: mntent-include-fix.patch
Description: Binary data

Attachment: mntent_compat.h
Description: Binary data

Attachment: mntent_compat.c++
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>