head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.2.0.10 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.8 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.6 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.4 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.2 pkgsrc-2010Q4-base:1.2; locks; strict; comment @# @; 1.3 date 2012.03.19.11.28.49; author markd; state dead; branches; next 1.2; 1.2 date 2010.10.26.11.46.58; author markd; state Exp; branches; next 1.1; 1.1 date 2010.10.25.20.55.29; author markd; state Exp; branches; next ; desc @@ 1.3 log @Update to KDE SC 4.8.0 @ text @$NetBSD: patch-an,v 1.2 2010/10/26 11:46:58 markd Exp $ --- kdecore/util/kshareddatacache.cpp.orig 2010-09-30 21:19:05.000000000 +0000 +++ kdecore/util/kshareddatacache.cpp @@@@ -307,7 +307,10 @@@@ struct SharedMemory // Initialize attributes, enable process-shared primitives, and setup // the mutex. if (pthread_mutexattr_init(&mutexAttr) == 0) { - if (pthread_mutexattr_setpshared(&mutexAttr, PTHREAD_PROCESS_SHARED) != 0 || + if ( +#ifdef _POSIX_THREAD_PROCESS_SHARED + pthread_mutexattr_setpshared(&mutexAttr, PTHREAD_PROCESS_SHARED) != 0 || +#endif pthread_mutex_init(&lockMutex, &mutexAttr) != 0) { pthread_mutexattr_destroy(&mutexAttr); @ 1.2 log @Note dependency on docbook-xml and docbook-xsl and rework the handling of the lack of pthread_mutexattr_setpshared() on NetBSD. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update to KDE SC 4.5.2 4.5.2 translation updates, performance and stability improvements and other bugfixes. 4.5.0 new versions of the Plasma Workspaces, the KDE Applications and the KDE Development Platform in version 4.5.0. While focus within this release cycle lay on stability, the overall polish and performance gain is well noticable. Features such as the reworked notification area, Marble's map routing and support for WebKit in Konqueror round up this release. @ text @d5 8 a12 9 @@@@ -60,6 +60,13 @@@@ #define MAP_ANONYMOUS MAP_ANON #endif +#ifdef __NetBSD__ +int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) +{ + kError(264) << "Actually called pthread_mutexattr_setpshared()."; +} d14 3 a16 4 + /** * This is the hash function used for our pixmap data to hopefully make the * hashing used to place the pixmaps as efficient as possible. @