diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-17 19:23:07 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-17 19:23:07 +0200 |
| commit | 1da8766ebc030569d1845d25ff8923715ca4bd7a (patch) | |
| tree | 86d486683526f86bcb50fb4ea22aa5139804fc2c /gnu/packages/patches | |
| parent | 392b38fd6fab102dfcfd21f4b1740b7af0aa50ce (diff) | |
gnu: Remove unused patches.
* gnu/packages/patches/dbus-c++-gcc-compat.patch,
gnu/packages/patches/dbus-c++-threading-mutex.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Unregister them.
Change-Id: Id629a757cc89e3f799c0fa1880bdc0c3a3b1a0bf
Diffstat (limited to 'gnu/packages/patches')
| -rw-r--r-- | gnu/packages/patches/dbus-c++-gcc-compat.patch | 14 | ||||
| -rw-r--r-- | gnu/packages/patches/dbus-c++-threading-mutex.patch | 37 |
2 files changed, 0 insertions, 51 deletions
diff --git a/gnu/packages/patches/dbus-c++-gcc-compat.patch b/gnu/packages/patches/dbus-c++-gcc-compat.patch deleted file mode 100644 index c4f126858ca..00000000000 --- a/gnu/packages/patches/dbus-c++-gcc-compat.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fix a string comparison in C++ 11. - -Taken from Debian: -https://sources.debian.org/src/dbus-c++/0.9.0-8.1/debian/patches/06_fix_gcc-7_ftbfs.patch/ - ---- a/src/pipe.cpp -+++ b/src/pipe.cpp -@@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigne - void Pipe::signal() - { - // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work... -- ::write(_fd_write, '\0', 1); -+ ::write(_fd_write, "\0", 1); - } 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) - { |
