pkgsrc/sysutils/fam/patches/patch-ag
minskim bd46a83d38 Update fam to 2.7.0. Fixes the following PR's:
- PR pkg/23017
  - PR pkg/23495
  - PR pkg/23496
  - PR pkg/24578

The patches for 23017 and 24578 were provided by reed@.  Although rh@
suspended PR 23017 saying that pkgsrc does not support installation to
/usr, this still needs to be fixed because the same problem occurs
even when LOCALBASE != /usr.

Changes since 2.6.10:
    Changed NOGROUP usage in src/Cred.c++ to -1 as NOGROUP is not defined
    in IRIX.
    (mraymond@sgi.com)
    removed const modifier from Scheduler.h to fix GCC 3.x build.
    (wardle@sgi.com)
    created new GNU autotools files:
    - test whether we have IMon rather than testing OS.
    - test whether we have sockaddr length members rather than testing OS.
    - install daemon in sbin rather than bin.
    - install manual pages in typical GNU/Linux sections.
    - rename daemon to famd.
    - rename fam source directory to src.
    - rename libfam source directory to lib.
    - remove editconf and util subdirectory.
    - remove rpm target and build subdirectory.
    - remove support target and subdirectory.
    [wardle@sgi.com] (wardle@sgi.com)
    fixed warnings about typenames in BTree.h.
    (wardle@sgi.com)
2004-03-28 22:00:04 +00:00

22 lines
412 B
Text

$NetBSD: patch-ag,v 1.4 2004/03/28 22:00:05 minskim Exp $
--- src/IMon.c++.orig 2003-01-18 08:18:12.000000000 -0600
+++ src/IMon.c++
@@ -25,6 +25,7 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#include <sys/param.h>
#if HAVE_IMON
#ifdef __sgi
@@ -34,7 +35,9 @@
#endif
#endif
+#if HAVE_SYS_SYSMACROS_H
#include <sys/sysmacros.h>
+#endif
#include <unistd.h>
#include "Interest.h"