pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gentoo Consistently use statfs on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d14443e5c8e6
branches:  trunk
changeset: 518071:d14443e5c8e6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 30 16:26:58 2006 +0000

description:
Consistently use statfs on DragonFly.

diffstat:

 sysutils/gentoo/distinfo         |   5 +++--
 sysutils/gentoo/patches/patch-af |  11 ++++++++++-
 sysutils/gentoo/patches/patch-ah |  13 +++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 1abc7f432cf6 -r d14443e5c8e6 sysutils/gentoo/distinfo
--- a/sysutils/gentoo/distinfo  Wed Aug 30 15:58:25 2006 +0000
+++ b/sysutils/gentoo/distinfo  Wed Aug 30 16:26:58 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2006/06/24 09:50:12 joerg Exp $
+$NetBSD: distinfo,v 1.20 2006/08/30 16:26:58 joerg Exp $
 
 SHA1 (gentoo-0.11.55.tar.gz) = 5ba1627d0c7caba8ba0064dde5fd8850a38a092e
 RMD160 (gentoo-0.11.55.tar.gz) = 30b4edd10a892709a39ac3f83cc5385652a965e2
@@ -8,5 +8,6 @@
 SHA1 (patch-ac) = 4e5d52849887b816eb4388fb2c75aefb3443f5c8
 SHA1 (patch-ad) = 0ac9fca5454c98633aa6c0bacfcaa364c34df37f
 SHA1 (patch-ae) = daa7cbed8d66af155f2624a0066b2f578e9a93c6
-SHA1 (patch-af) = a5a67031ed8e18423ad9373a5a22cf91f96b3465
+SHA1 (patch-af) = c86f68937cbf2c086cf1282ec12df5db156f66d5
 SHA1 (patch-ag) = 3045a4eb72f8c50d147fe09256ec791359053418
+SHA1 (patch-ah) = a2d8839860ccdbc56cdd7ca11f945b29c32917ae
diff -r 1abc7f432cf6 -r d14443e5c8e6 sysutils/gentoo/patches/patch-af
--- a/sysutils/gentoo/patches/patch-af  Wed Aug 30 15:58:25 2006 +0000
+++ b/sysutils/gentoo/patches/patch-af  Wed Aug 30 16:26:58 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1 2006/06/20 20:41:22 joerg Exp $
+$NetBSD: patch-af,v 1.2 2006/08/30 16:26:58 joerg Exp $
 
 --- src/gentoo.h.orig  2005-01-30 21:49:56.000000000 +0000
 +++ src/gentoo.h
@@ -29,3 +29,12 @@
  #define GENTOO_ON_BSD
  #endif
  
+@@ -458,7 +458,7 @@ typedef struct {
+ 
+ typedef struct {                      /* Some trivial file system information. Updated on rescan. */
+       gboolean        valid;                  /* Set if the structure's contents are valid. */
+-#if defined HAVE_STRUCT_STATVFS
++#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__)
+       struct statvfs  stat;                   /* Holds information about filesystem. */
+ #elif defined HAVE_STRUCT_STATFS || defined GENTOO_ON_BSD
+       struct statfs   stat;
diff -r 1abc7f432cf6 -r d14443e5c8e6 sysutils/gentoo/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gentoo/patches/patch-ah  Wed Aug 30 16:26:58 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2006/08/30 16:26:58 joerg Exp $
+
+--- src/dirpane.c.orig 2006-08-30 15:45:45.000000000 +0000
++++ src/dirpane.c
+@@ -1394,7 +1394,7 @@ static void update_fs_info(DirPane *dp)
+ {
+       gint    old_errno = errno;
+ 
+-#if defined HAVE_STRUCT_STATVFS
++#if defined HAVE_STRUCT_STATVFS && !defined(__DragonFly__)
+       dp->dir.fs.valid = statvfs(dp->dir.path, &dp->dir.fs.stat) == 0;
+ #else
+       dp->dir.fs.valid = statfs(dp->dir.path, &dp->dir.fs.stat) == 0;



Home | Main Index | Thread Index | Old Index