Subject: pkg/25324: x11/kdelibs3
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <john@johnrshannon.com>
List: pkgsrc-bugs
Date: 04/25/2004 15:06:38
>Number: 25324
>Category: pkg
>Synopsis: Change in argument type has to be matched
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 25 21:07:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: John R. Shannon
>Release: NetBSD 2.0E
>Organization:
John R. Shannon.com
>Environment:
System: NetBSD colleen.internal.johnrshannon.com 2.0E NetBSD 2.0E (KERNEL) #0: Sun Apr 25 07:44:57 MDT 2004 root@colleen.internal.johnrshannon.com:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL i386
Architecture: i386
Machine: i386
>Description:
Recent change in argument type to getmntinfo() call must be matched by variable type change.
>How-To-Repeat:
>Fix:
$NetBSD$
--- kdecore/kmountpoint.cpp.orig 2003-09-21 02:39:00.000000000 -0600
+++ kdecore/kmountpoint.cpp
@@ -219,7 +219,7 @@ KMountPoint::List KMountPoint::currentMo
#ifdef HAVE_GETMNTINFO
- struct statfs *mounted;
+ struct statvfs *mounted;
int num_fs = getmntinfo(&mounted, MNT_NOWAIT);
$NetBSD$
--- ./kio/kio/global.cpp.orig 2004-04-04 03:08:52.000000000 -0600
+++ ./kio/kio/global.cpp
@@ -1390,7 +1390,7 @@ QString KIO::findDeviceMountPoint( const
#ifdef HAVE_GETMNTINFO
- struct statfs *mounted;
+ struct statvfs *mounted;
int num_fs = getmntinfo(&mounted, MNT_NOWAIT);
@@ -1656,7 +1656,7 @@ static QString get_mount_info(const QStr
#ifdef HAVE_GETMNTINFO
- struct statfs *mounted;
+ struct statvfs *mounted;
char realpath_buffer[MAXPATHLEN];
int num_fs = getmntinfo(&mounted, MNT_NOWAIT);
>Release-Note:
>Audit-Trail:
>Unformatted: