diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-10-29 23:48:18 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-10-29 23:48:18 +0000 |
commit | c13a5bcfcd39a60b06331e0e456f81187f336764 (patch) | |
tree | 24d87d150c14833a85f8fac72b8a8e53d186d7c8 /archivers | |
parent | - Add p5-File-Next as RUN_DEPENDS for this package at run time. (diff) |
Update to KDE 3.5.8
Notes
Notes:
svn path=/head/; revision=202377
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/ark/distinfo | 6 | ||||
-rw-r--r-- | archivers/ark/files/patch-ksim_monitors_filesystem-filesystemstats.cpp | 46 |
2 files changed, 49 insertions, 3 deletions
diff --git a/archivers/ark/distinfo b/archivers/ark/distinfo index 3d6a9064e821..5c3d382e1973 100644 --- a/archivers/ark/distinfo +++ b/archivers/ark/distinfo @@ -1,3 +1,3 @@ -MD5 (KDE/kdeutils-3.5.7.tar.bz2) = 5f167f53bdbf0b8c71c2d0f0ff7593fd -SHA256 (KDE/kdeutils-3.5.7.tar.bz2) = e72de75dd40e1422e4da5957acafc06278418f60850aea21524d857abb97adf8 -SIZE (KDE/kdeutils-3.5.7.tar.bz2) = 3068596 +MD5 (KDE/kdeutils-3.5.8.tar.bz2) = d1a0fcc83f35428a76cf7523a04ba19c +SHA256 (KDE/kdeutils-3.5.8.tar.bz2) = 7dcbe3361cc53f9dac4c1bf6f45952d3d2518bec56cd8c07b8e07b4c4f12d0ac +SIZE (KDE/kdeutils-3.5.8.tar.bz2) = 3059172 diff --git a/archivers/ark/files/patch-ksim_monitors_filesystem-filesystemstats.cpp b/archivers/ark/files/patch-ksim_monitors_filesystem-filesystemstats.cpp new file mode 100644 index 000000000000..7a29e570a1b7 --- /dev/null +++ b/archivers/ark/files/patch-ksim_monitors_filesystem-filesystemstats.cpp @@ -0,0 +1,46 @@ +--- ksim/monitors/filesystem/filesystemstats.cpp.orig 2007-10-08 11:49:45.000000000 +0200 ++++ ksim/monitors/filesystem/filesystemstats.cpp 2007-10-26 19:32:09.000000000 +0200 +@@ -30,7 +30,7 @@ + #include <sys/types.h> + #include <sys/param.h> + +-#if defined(HAVE_SYS_STATVFS_H) && !defined(__DragonFly__) ++#ifdef HAVE_SYS_STATVFS_H + #include <sys/statvfs.h> + #elif defined( HAVE_SYS_STATFS_H ) + #include <sys/statfs.h> +@@ -59,12 +59,10 @@ + #include <stdio.h> + #include <unistd.h> + +-#if defined(HAVE_STATVFS) && !defined(__DragonFly__) ++#ifdef HAVE_STATVFS + typedef struct statvfs ksim_statfs; +-#define ksim_getfsstat getvfsstat + #elif defined( HAVE_STATFS ) || defined( Q_OS_FREEBSD ) + typedef struct statfs ksim_statfs; +-#define ksim_getfsstat getfsstat + #else + typedef struct // fall back for (possibly) non-supported systems + { +@@ -75,7 +73,7 @@ + + int fsystemStats( const char * file, ksim_statfs & stats ) + { +-#if defined(HAVE_STATVFS) && !defined(__DragonFly__) ++#ifdef HAVE_STATVFS + return statvfs( file, &stats ); + #elif defined( HAVE_STATFS ) || defined( Q_OS_FREEBSD ) + return statfs( file, &stats ); +@@ -164,9 +162,9 @@ + #endif + + #ifdef USE_FSSTAT +- ksim_statfs sfs[32]; ++ struct statfs sfs[32]; + int fs_count; +- if ( ( fs_count = ksim_getfsstat( sfs, sizeof( sfs ), 0 ) ) != -1 ) ++ if ( ( fs_count = getfsstat( sfs, sizeof( sfs ), 0 ) ) != -1 ) + { + for ( int i = 0; i < fs_count; i++ ) + { |