udisks: services: change default.target to multi-user.target
[AGL/meta-agl-demo.git] / recipes-core / dbus / libdbus-c++ / dbus-c++-threading.patch
1 --- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading   2017-02-15 13:40:53.796004263 +0000
2 +++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h     2017-02-15 13:40:46.907000493 +0000
3 @@ -188,6 +188,7 @@
4  /* classes for multithreading support
5  */
6  
7 +#if 0
8  class DXXAPI Mutex
9  {
10  public:
11 @@ -243,9 +244,11 @@
12  typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout);
13  typedef void (*CondVarWakeOneFn)(CondVar *cv);
14  typedef void (*CondVarWakeAllFn)(CondVar *cv);
15 +#endif
16  
17  void DXXAPI _init_threading();
18  
19 +#if 0
20  void DXXAPI _init_threading(
21    MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
22    CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
23 @@ -312,6 +315,7 @@
24      cv->wake_all();
25    }
26  };
27 +#endif
28  
29  } /* namespace DBus */
30  
31 --- libdbus-c++-0.9.0/src/dispatcher.cpp.threading      2017-02-15 13:48:22.627249868 +0000
32 +++ libdbus-c++-0.9.0/src/dispatcher.cpp        2017-02-15 13:48:29.164253445 +0000
33 @@ -253,6 +253,7 @@
34  #endif//DBUS_HAS_THREADS_INIT_DEFAULT
35  }
36  
37 +#if 0
38  void DBus::_init_threading(
39    MutexNewFn m1,
40    MutexFreeFn m2,
41 @@ -318,3 +319,4 @@
42  #endif//DBUS_HAS_RECURSIVE_MUTEX
43    dbus_threads_init(&functions);
44  }
45 +#endif