pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/fam Fix the build on MacOS X 10.4 which now h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d75906d7d35b
branches:  trunk
changeset: 493459:d75906d7d35b
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat May 07 08:31:15 2005 +0000

description:
Fix the build on MacOS X 10.4 which now has statvfs.

diffstat:

 sysutils/fam/distinfo         |   4 ++--
 sysutils/fam/patches/patch-ap |  14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (68 lines):

diff -r 0e34815fbc42 -r d75906d7d35b sysutils/fam/distinfo
--- a/sysutils/fam/distinfo     Sat May 07 07:54:37 2005 +0000
+++ b/sysutils/fam/distinfo     Sat May 07 08:31:15 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2005/03/14 22:40:09 tv Exp $
+$NetBSD: distinfo,v 1.22 2005/05/07 08:31:15 recht Exp $
 
 SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8
 RMD160 (fam-2.7.0.tar.gz) = 1895b578d6a141c36d5bee4e3fbbc2a298a91430
@@ -18,7 +18,7 @@
 SHA1 (patch-am) = 4fa488940675c5283806819288f7674f4634e038
 SHA1 (patch-an) = 7aa54fb1f90e3b2eb767d41fd842f7f4a0561b81
 SHA1 (patch-ao) = 161160f121e9338e807bfe0c5df6cf14457fec62
-SHA1 (patch-ap) = bbb31577e0cc9ffb8ccbce75082ccddd917d7cea
+SHA1 (patch-ap) = a129d1ad687f5690430001276bba9afa721f80d7
 SHA1 (patch-aq) = a54ba100b779fa13b35c962ba734ee11e093cb28
 SHA1 (patch-ar) = 37a8fe2e70d4cbc669a0c853b3404d8c0354235a
 SHA1 (patch-as) = ff23d2425587e08cac1344884d3557c7761adcef
diff -r 0e34815fbc42 -r d75906d7d35b sysutils/fam/patches/patch-ap
--- a/sysutils/fam/patches/patch-ap     Sat May 07 07:54:37 2005 +0000
+++ b/sysutils/fam/patches/patch-ap     Sat May 07 08:31:15 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ap,v 1.8 2004/11/19 12:35:22 sketch Exp $
+$NetBSD: patch-ap,v 1.9 2005/05/07 08:31:16 recht Exp $
 
---- src/mntent_compat.c++.orig 2004-04-30 14:24:58.000000000 +0200
-+++ src/mntent_compat.c++      2004-04-30 14:28:45.000000000 +0200
+--- src/mntent_compat.c++.orig 2005-05-07 10:22:00.000000000 +0200
++++ src/mntent_compat.c++      2005-05-07 10:26:09.000000000 +0200
 @@ -0,0 +1,191 @@
 +/*
 + * Copyright (c) 1980, 1989, 1993, 1994
@@ -48,7 +48,7 @@
 +#include <sys/param.h>
 +#include <sys/ucred.h>
 +#include <sys/mount.h>
-+#ifdef HAVE_SYS_STATVFS_H
++#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__)
 +# include <sys/statvfs.h>
 +#endif
 +
@@ -144,7 +144,7 @@
 +}
 +
 +static struct mntent *
-+#ifdef HAVE_SYS_STATVFS_H
++#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__)
 +statfs_to_mntent (struct statvfs *mntbuf)
 +#else
 +statfs_to_mntent (struct statfs *mntbuf)
@@ -155,7 +155,7 @@
 +      _mntent.mnt_fsname = mntbuf->f_mntfromname;
 +      _mntent.mnt_dir = mntbuf->f_mntonname;
 +      _mntent.mnt_type = mntbuf->f_fstypename;
-+#ifdef HAVE_SYS_STATVFS_H
++#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__)
 +      tmp = flags2opts (mntbuf->f_flag);
 +#else
 +      tmp = flags2opts (mntbuf->f_flags);
@@ -175,7 +175,7 @@
 +struct mntent *
 +getmntent (FILE *fp)
 +{
-+#ifdef HAVE_SYS_STATVFS_H
++#if defined(HAVE_SYS_STATVFS_H) && !defined(__APPLE__)
 +      static struct statvfs *mntbuf;
 +#else
 +      static struct statfs *mntbuf;



Home | Main Index | Thread Index | Old Index