Blame SOURCES/dbus-c++-threading.patch

93576b
--- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading	2017-02-15 13:40:53.796004263 +0000
93576b
+++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h	2017-02-15 13:40:46.907000493 +0000
93576b
@@ -188,6 +188,7 @@
93576b
 /* classes for multithreading support
93576b
 */
93576b
 
93576b
+#if 0
93576b
 class DXXAPI Mutex
93576b
 {
93576b
 public:
93576b
@@ -243,9 +244,11 @@
93576b
 typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout);
93576b
 typedef void (*CondVarWakeOneFn)(CondVar *cv);
93576b
 typedef void (*CondVarWakeAllFn)(CondVar *cv);
93576b
+#endif
93576b
 
93576b
 void DXXAPI _init_threading();
93576b
 
93576b
+#if 0
93576b
 void DXXAPI _init_threading(
93576b
   MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
93576b
   CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
93576b
@@ -312,6 +315,7 @@
93576b
     cv->wake_all();
93576b
   }
93576b
 };
93576b
+#endif
93576b
 
93576b
 } /* namespace DBus */
93576b
 
93576b
--- libdbus-c++-0.9.0/src/dispatcher.cpp.threading	2017-02-15 13:48:22.627249868 +0000
93576b
+++ libdbus-c++-0.9.0/src/dispatcher.cpp	2017-02-15 13:48:29.164253445 +0000
93576b
@@ -253,6 +253,7 @@
93576b
 #endif//DBUS_HAS_THREADS_INIT_DEFAULT
93576b
 }
93576b
 
93576b
+#if 0
93576b
 void DBus::_init_threading(
93576b
   MutexNewFn m1,
93576b
   MutexFreeFn m2,
93576b
@@ -318,3 +319,4 @@
93576b
 #endif//DBUS_HAS_RECURSIVE_MUTEX
93576b
   dbus_threads_init(&functions);
93576b
 }
93576b
+#endif