head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.22 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.20 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.18 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.16 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.14 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.14 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.12 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.10 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6:1.1.1.1.0.4 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.1.1.0.6 pkgviews-base:1.1 buildlink2-base:1.1.1.1 buildlink2:1.1.1.1.0.2 pkg-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2007.10.20.10.47.21; author markd; state dead; branches; next 1.4; 1.4 date 2006.01.05.20.25.16; author joerg; state Exp; branches; next 1.3; 1.3 date 2004.05.04.13.52.11; author mrg; state Exp; branches; next 1.2; 1.2 date 2003.01.20.10.03.55; author skrll; state dead; branches; next 1.1; 1.1 date 2002.05.31.13.42.36; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.05.31.13.42.36; author skrll; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2002.05.31.13.42.36; author jlam; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2002.06.23.18.53.39; author jlam; state Exp; branches; next ; desc @@ 1.5 log @Update to KDE 3.5.8 kfloppy * Check all available densities instead of a hardcoded list. klaptopdaemon * Fix lock & hibernate allowing unauthorised access . @ text @$NetBSD: patch-ad,v 1.4 2006/01/05 20:25:16 joerg Exp $ --- ksim/monitors/filesystem/filesystemstats.cpp.orig 2005-10-05 13:26:44.000000000 +0000 +++ ksim/monitors/filesystem/filesystemstats.cpp @@@@ -30,7 +30,7 @@@@ #include #include -#ifdef HAVE_SYS_STATVFS_H +#if defined(HAVE_SYS_STATVFS_H) && !defined(__DragonFly__) #include #elif defined( HAVE_SYS_STATFS_H ) #include @@@@ -56,10 +56,12 @@@@ #include #include -#ifdef HAVE_STATVFS +#if defined(HAVE_STATVFS) && !defined(__DragonFly__) 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 { @@@@ -70,7 +72,7 @@@@ typedef struct // fall back for (possibl int fsystemStats( const char * file, ksim_statfs & stats ) { -#ifdef HAVE_STATVFS +#if defined(HAVE_STATVFS) && !defined(__DragonFly__) return statvfs( file, &stats ); #elif defined( HAVE_STATFS ) || defined( Q_OS_FREEBSD ) return statfs( file, &stats ); @@@@ -159,9 +161,9 @@@@ FilesystemStats::List FilesystemStats::r #endif #ifdef USE_FSSTAT - struct statfs sfs[32]; + ksim_statfs sfs[32]; int fs_count; - if ( ( fs_count = getfsstat( sfs, sizeof( sfs ), 0 ) ) != -1 ) + if ( ( fs_count = ksim_getfsstat( sfs, sizeof( sfs ), 0 ) ) != -1 ) { for ( int i = 0; i < fs_count; i++ ) { @ 1.4 log @Add DragonFly support. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @statfs->statvfs @ text @d3 5 a7 3 --- ksim/monitors/filesystem/filesystemstats.cpp.orig 2003-06-27 23:39:05.000000000 +1000 +++ ksim/monitors/filesystem/filesystemstats.cpp 2004-05-04 23:31:40.000000000 +1000 @@@@ -58,8 +58,10 @@@@ d9 11 a19 1 #ifdef HAVE_STATVFS d28 10 a37 1 @@@@ -159,9 +161,9 @@@@ @ 1.2 log @The result of my recent KDE fiddlings - Build all packages with a --disable-static libtool. This is how the packages should be built and means that we don't get a load of useless static libraries. - Use x11/kde3/files/foo_main.cpp instead of creating N copies with patches. - Some other PLIST fixes - Fix PR 19848. kspell doesn't find dictionaries. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2002/05/31 13:42:36 skrll Exp $ d3 25 a27 31 --- kcalc/kcalc_main.cpp.orig Fri May 31 11:58:44 2002 +++ kcalc/kcalc_main.cpp @@@@ -0,0 +1,28 @@@@ +/* + * + * Copyright (c) 2001 Nick Hudson + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +extern "C" int kdemain(int, char* []); + +int main( int argc, char* argv[] ) +{ + return kdemain(argc, argv); +} @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of the kdeutils pkg (in the right place this time.) @ text @@ 1.1.1.1.2.1 log @file patch-ad was added on branch buildlink2 on 2002-06-23 18:53:39 +0000 @ text @d1 33 @ 1.1.1.1.2.2 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 33 $NetBSD: patch-ad,v 1.1.1.1.2.1 2002/06/23 18:53:39 jlam Exp $ --- kcalc/kcalc_main.cpp.orig Fri May 31 11:58:44 2002 +++ kcalc/kcalc_main.cpp @@@@ -0,0 +1,28 @@@@ +/* + * + * Copyright (c) 2001 Nick Hudson + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +extern "C" int kdemain(int, char* []); + +int main( int argc, char* argv[] ) +{ + return kdemain(argc, argv); +} @