summaryrefslogtreecommitdiff
path: root/graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h')
-rw-r--r--graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h b/graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h
new file mode 100644
index 00000000000..72300e2726d
--- /dev/null
+++ b/graphics/panomatic/patches/patch-zthread_include_zthread_Guard.h
@@ -0,0 +1,22 @@
+$NetBSD: patch-zthread_include_zthread_Guard.h,v 1.1 2012/11/16 00:53:01 joerg Exp $
+
+--- zthread/include/zthread/Guard.h.orig 2012-11-15 14:59:53.000000000 +0000
++++ zthread/include/zthread/Guard.h
+@@ -108,7 +108,7 @@ class CompoundScope {
+ }
+
+ template <class LockType>
+- static void createScope(LockHolder<LockType>& l, unsigned long ms) {
++ static bool createScope(LockHolder<LockType>& l, unsigned long ms) {
+
+ if(Scope1::createScope(l, ms))
+ if(!Scope2::createScope(l, ms)) {
+@@ -428,7 +428,7 @@ public:
+ template <class U, class V>
+ Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
+
+- LockingPolicy::shareScope(*this, extract(g));
++ LockingPolicy::shareScope(*this, this->extract(g));
+
+ }
+