summaryrefslogtreecommitdiffstats
path: root/patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch')
-rw-r--r--patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch b/patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch
deleted file mode 100644
index c8a54068c..000000000
--- a/patches/dbus-1.4.8/0004-use-SOCK_CLOEXEC-only-if-available.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-sd-daemon.c: In function 'sd_notify':
-sd-daemon.c:356: error: 'SOCK_CLOEXEC' undeclared (first use in this function)
-
----
- dbus/sd-daemon.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-Index: dbus-1.4.1/dbus/sd-daemon.c
-===================================================================
---- dbus-1.4.1.orig/dbus/sd-daemon.c
-+++ dbus-1.4.1/dbus/sd-daemon.c
-@@ -43,6 +43,11 @@
-
- #include "sd-daemon.h"
-
-+/* only available on linux >= 2.6.27 */
-+#ifndef SOCK_CLOEXEC
-+#define SOCK_CLOEXEC 0
-+#endif
-+
- int sd_listen_fds(int unset_environment) {
-
- #if defined(DISABLE_SYSTEMD) || !defined(__linux__)