summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-aa
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-19 12:35:22 +0000
committersketch <sketch@pkgsrc.org>2004-11-19 12:35:22 +0000
commit97ff422b68b4a174d2710be9773b848983f828e0 (patch)
treefcdbc3bcdfd7f1ef95b42727410287ab744a447f /sysutils/fam/patches/patch-aa
parentd0b99ba73d4d76bcf461f4ee59b691a6c445d598 (diff)
downloadpkgsrc-97ff422b68b4a174d2710be9773b848983f828e0.tar.gz
Various fixes/cleanups to get this package compiling on Solaris:
+ Use the mnttab(4) interface instead of mntent. + C++ syntax cleanups to appease the SunPro compiler. + Use MAXPATHLEN instead of NAME_MAX which can be unimplemented on strict POSIX systems. + Use POSIX inttypes.h if BSD types are not available. + RPC includes and C++ namespace fixes. + Use dirent(3) instead of older sys/dir.h interface. + Avoid `sun' namespace collision. Patch based on the work of Robert Lillack and others, described in http://mail-index.netbsd.org/tech-pkg/2004/08/20/0005.html and tested with SunPro and gcc.
Diffstat (limited to 'sysutils/fam/patches/patch-aa')
-rw-r--r--sysutils/fam/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/fam/patches/patch-aa b/sysutils/fam/patches/patch-aa
index 665ba0b061f..56f4d35609a 100644
--- a/sysutils/fam/patches/patch-aa
+++ b/sysutils/fam/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2004/04/18 17:11:08 jmmv Exp $
+$NetBSD: patch-aa,v 1.7 2004/11/19 12:35:22 sketch Exp $
--- configure.ac.orig 2003-11-26 20:47:59.000000000 +0100
+++ configure.ac
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.6 2004/04/18 17:11:08 jmmv Exp $
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS([fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h])
-+AC_CHECK_HEADERS([fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/sysmacros.h])
++AC_CHECK_HEADERS([fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/mnttab.h sys/sysmacros.h])
if test "$have_sys_imon_h"; then
MONITOR_FUNCS=IMonIRIX