summaryrefslogtreecommitdiff
path: root/x11/kdebase3
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2004-04-26 11:54:15 +0000
committermarkd <markd@pkgsrc.org>2004-04-26 11:54:15 +0000
commit70076efcb42d37117f2771310554bab8d91f2f0c (patch)
tree66262907835cf813e6d42315dba3482f0a55f807 /x11/kdebase3
parent04825482aa2d922bdf3d801a1caed62d166b2562 (diff)
downloadpkgsrc-70076efcb42d37117f2771310554bab8d91f2f0c.tar.gz
f_bsize -> f_frsize. From Christos Zoulas.
Diffstat (limited to 'x11/kdebase3')
-rw-r--r--x11/kdebase3/distinfo4
-rw-r--r--x11/kdebase3/patches/patch-af14
2 files changed, 13 insertions, 5 deletions
diff --git a/x11/kdebase3/distinfo b/x11/kdebase3/distinfo
index 1ca56c8b48f..ecdeb0d59e1 100644
--- a/x11/kdebase3/distinfo
+++ b/x11/kdebase3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2004/04/26 11:31:25 markd Exp $
+$NetBSD: distinfo,v 1.47 2004/04/26 11:54:15 markd Exp $
SHA1 (kdebase-3.2.2.tar.bz2) = bc941b3faa4440ca2048d9332371c974d0e17f5b
Size (kdebase-3.2.2.tar.bz2) = 17216476 bytes
@@ -11,7 +11,7 @@ SHA1 (patch-ab) = 5ddff11c04fb004a8ddaedbec2655fdd3cf3d466
SHA1 (patch-ac) = 8be0f15be839f4f01d3e079501b83e27f1fab2eb
SHA1 (patch-ad) = 031e5622acb376ce1867d08b35c55bce101e8855
SHA1 (patch-ae) = 5d9902de9990efc1883f11563f49ac8639fe743d
-SHA1 (patch-af) = 8095a6cdfd5348d6ab9ed67fc625bd944a860c00
+SHA1 (patch-af) = ad9b3a97151c964d4adea2d8fecd780c6198b205
SHA1 (patch-ag) = 89f50ee8b328cd654aebf1da5424e87eb6b42628
SHA1 (patch-bb) = 1b6c717a1bedafbeae0037ee382795d8aa59f081
SHA1 (patch-bc) = 2d54d0700b30f5471eb60d104148ecf5ac835f58
diff --git a/x11/kdebase3/patches/patch-af b/x11/kdebase3/patches/patch-af
index f6b90598b81..1126e0c2132 100644
--- a/x11/kdebase3/patches/patch-af
+++ b/x11/kdebase3/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.4 2004/04/26 11:31:25 markd Exp $
+$NetBSD: patch-af,v 1.5 2004/04/26 11:54:15 markd Exp $
--- kcontrol/info/info_netbsd.cpp.orig 2003-01-21 02:17:16.000000000 +1300
+++ kcontrol/info/info_netbsd.cpp
@@ -14,15 +14,23 @@ $NetBSD: patch-af,v 1.4 2004/04/26 11:31:25 markd Exp $
int ok;
if (!pipe) {
-@@ -312,7 +316,11 @@ bool GetInfo_Partitions (QListView *lbox
+@@ -312,11 +316,19 @@ bool GetInfo_Partitions (QListView *lbox
flags = "";
}
+#ifdef ST_RDONLY
+ if (statvfs(mountpoint, &sfs) == 0) {
++ tsz = ((1LL * sfs.f_blocks * sfs.f_frsize / 1024) + 513)
++ / 1024;
++ fsz = ((1LL * sfs.f_bfree * sfs.f_frsize / 1024) + 513)
++ / 1024;
+#else
if (statfs(mountpoint, &sfs) == 0) {
-+#endif
tsz = ((1LL * sfs.f_blocks * sfs.f_bsize / 1024) + 513)
/ 1024;
fsz = ((1LL * sfs.f_bfree * sfs.f_bsize / 1024) + 513)
+ / 1024;
++#endif
+ ok = 1;
+ } else {
+ tsz = fsz = 0;