wok diff dbus-c++/stuff/dbus-c++-0.9.0-disable-threading.patch @ rev 25843
Update some urls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 21 09:04:33 2025 +0000 (5 weeks ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dbus-c++/stuff/dbus-c++-0.9.0-disable-threading.patch Wed May 21 09:04:33 2025 +0000 1.3 @@ -0,0 +1,45 @@ 1.4 +--- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading 2017-02-15 13:40:53.796004263 +0000 1.5 ++++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h 2017-02-15 13:40:46.907000493 +0000 1.6 +@@ -188,6 +188,7 @@ 1.7 + /* classes for multithreading support 1.8 + */ 1.9 + 1.10 ++#if 0 1.11 + class DXXAPI Mutex 1.12 + { 1.13 + public: 1.14 +@@ -243,9 +244,11 @@ 1.15 + typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout); 1.16 + typedef void (*CondVarWakeOneFn)(CondVar *cv); 1.17 + typedef void (*CondVarWakeAllFn)(CondVar *cv); 1.18 ++#endif 1.19 + 1.20 + void DXXAPI _init_threading(); 1.21 + 1.22 ++#if 0 1.23 + void DXXAPI _init_threading( 1.24 + MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn, 1.25 + CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn 1.26 +@@ -312,6 +315,7 @@ 1.27 + cv->wake_all(); 1.28 + } 1.29 + }; 1.30 ++#endif 1.31 + 1.32 + } /* namespace DBus */ 1.33 + 1.34 +--- libdbus-c++-0.9.0/src/dispatcher.cpp.threading 2017-02-15 13:48:22.627249868 +0000 1.35 ++++ libdbus-c++-0.9.0/src/dispatcher.cpp 2017-02-15 13:48:29.164253445 +0000 1.36 +@@ -253,6 +253,7 @@ 1.37 + #endif//DBUS_HAS_THREADS_INIT_DEFAULT 1.38 + } 1.39 + 1.40 ++#if 0 1.41 + void DBus::_init_threading( 1.42 + MutexNewFn m1, 1.43 + MutexFreeFn m2, 1.44 +@@ -318,3 +319,4 @@ 1.45 + #endif//DBUS_HAS_RECURSIVE_MUTEX 1.46 + dbus_threads_init(&functions); 1.47 + } 1.48 ++#endif