summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/dbus-c++-threading-mutex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/dbus-c++-threading-mutex.patch')
-rw-r--r--gnu/packages/patches/dbus-c++-threading-mutex.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/gnu/packages/patches/dbus-c++-threading-mutex.patch b/gnu/packages/patches/dbus-c++-threading-mutex.patch
deleted file mode 100644
index b201700dc06..00000000000
--- a/gnu/packages/patches/dbus-c++-threading-mutex.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Description: Fix FTBFS if DBUS_HAS_RECURSIVE_MUTEX is undefined
-Author: Peter Williams <peter@newton.cx>
-Last-Update: 2018-01-26
-
-Taken from Debian:
-https://sources.debian.org/src/dbus-c++/0.9.0-8.1/debian/patches/07_fix_mutex_ftbfs.patch/
-
---- dbus-c++-0.9.0.orig/include/dbus-c++/dispatcher.h
-+++ dbus-c++-0.9.0/include/dbus-c++/dispatcher.h
-@@ -267,6 +267,19 @@ struct Threading
- return new Mx;
- }
-
-+#ifndef DBUS_HAS_RECURSIVE_MUTEX
-+ static bool mutex_free(Mutex *mx)
-+ {
-+ delete mx;
-+ return true;
-+ }
-+
-+ static bool mutex_lock(Mutex *mx)
-+ {
-+ mx->lock();
-+ return true;
-+ }
-+#else
- static void mutex_free(Mutex *mx)
- {
- delete mx;
-@@ -276,6 +289,7 @@ struct Threading
- {
- mx->lock();
- }
-+#endif
-
- static void mutex_unlock(Mutex *mx)
- {