diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-08 20:45:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-08 20:45:16 +0000 |
commit | 0adfeec291eb179019b124991dcf4215a9e67e48 (patch) | |
tree | 66f005d2758a23325cd6120e420697f1679a15f4 /sys-apps/dbus/files | |
parent | Fixing build against glibc 2.10, bug #279787 (diff) | |
download | gentoo-2-0adfeec291eb179019b124991dcf4215a9e67e48.tar.gz gentoo-2-0adfeec291eb179019b124991dcf4215a9e67e48.tar.bz2 gentoo-2-0adfeec291eb179019b124991dcf4215a9e67e48.zip |
Add patch from upstream to fix check for cloexec (bug #280299). No revbump, but it didn't use cloexec there before.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/dbus/files')
-rw-r--r-- | sys-apps/dbus/files/dbus-1.3.0-no-cloexec.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/dbus/files/dbus-1.3.0-no-cloexec.patch b/sys-apps/dbus/files/dbus-1.3.0-no-cloexec.patch new file mode 100644 index 000000000000..ba76eec00ec4 --- /dev/null +++ b/sys-apps/dbus/files/dbus-1.3.0-no-cloexec.patch @@ -0,0 +1,21 @@ +commit a8cf509a06cdc42568e446dea8a54a398e1c003b +Author: Benjamin Reed <rangerrick@befunk.com> +Date: Wed Jul 22 08:47:51 2009 -0400 + + Fix compilation on non-Linux: the F_DUPFD_CLOEXEC check was reversed + + Signed-off-by: Thiago Macieira <thiago@kde.org> + +diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c +index f0f1e70..e60e614 100644 +--- a/dbus/dbus-sysdeps-unix.c ++++ b/dbus/dbus-sysdeps-unix.c +@@ -3043,7 +3043,7 @@ _dbus_dup(int fd, + return -1; + } + +-#ifndef F_DUPFD_CLOEXEC ++#ifdef F_DUPFD_CLOEXEC + if (!cloexec_done) + #endif + { |