[packages/ZThread] - more fixes in c++ patch

qboosh qboosh at pld-linux.org
Mon Nov 4 20:39:24 CET 2013


commit 72fafc20a07fd597a83a836f0c4c02154dee0554
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 4 20:39:37 2013 +0100

    - more fixes in c++ patch

 ZThread-c++.patch | 18 ++++++++++++++++++
 ZThread.spec      |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/ZThread.spec b/ZThread.spec
index 9696325..91fad1d 100644
--- a/ZThread.spec
+++ b/ZThread.spec
@@ -5,7 +5,7 @@ Version:	2.3.2
 Release:	1
 License:	MIT
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/zthread/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/zthread/%{name}-%{version}.tar.gz
 # Source0-md5:	f2782d19b8ed6f1ff2ab8824dd4ba48e
 Patch0:		%{name}-c++.patch
 Patch1:		%{name}-destdir.patch
diff --git a/ZThread-c++.patch b/ZThread-c++.patch
index 3dcf4a8..d67167b 100644
--- a/ZThread-c++.patch
+++ b/ZThread-c++.patch
@@ -83,6 +83,24 @@
      for(;;) {
 --- ZThread-2.3.2/include/zthread/Guard.h.orig	2005-03-13 03:10:09.000000000 +0100
 +++ ZThread-2.3.2/include/zthread/Guard.h	2008-09-10 18:14:58.176983956 +0200
+@@ -428,7 +428,7 @@
+   template <class U, class V>
+   Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
+ 
+-    LockingPolicy::shareScope(*this, extract(g));
++    LockingPolicy::shareScope(*this, this->extract(g));
+     
+   }
+ 
+@@ -458,7 +458,7 @@
+   template <class U, class V>
+   Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) {
+ 
+-    LockingPolicy::transferScope(*this, extract(g));
++    LockingPolicy::transferScope(*this, this->extract(g));
+ 
+   }
+ 
 @@ -491,7 +491,7 @@ Guard<LockType, LockingPolicy>::~Guard()
      
    try {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ZThread.git/commitdiff/72fafc20a07fd597a83a836f0c4c02154dee0554



More information about the pld-cvs-commit mailing list