I had these modules listed as being owned by me, but they are really owned by
wangke, correcting.
--- /usr/tmp/clean/dbus-1.2.24/configure.in 2010-03-23 19:10:49.000000000 +0000
+++ dbus-1.2.24/configure.in 2010-08-11 15:16:52.830669037 +0100
@@ -465,7 +465,7 @@ AC_DEFINE_UNQUOTED([DBUS_USE_SYNC], [$ha
AC_SEARCH_LIBS(socket,[socket network])
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
-AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep setenv clearenv unsetenv socketpair getgrouplist fpathconf setrlimit poll setlocale localeconv strtoll strtoull)
+AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep setenv clearenv unsetenv socketpair getgrouplist fpathconf setrlimit poll setlocale localeconv strtoll strtoull closefrom)
#### Check for broken poll; taken from Glib's configure
--- /usr/tmp/clean/dbus-1.2.24/dbus/dbus-sysdeps-unix.c 2010-03-23 19:01:27.000000000 +0000
+++ dbus-1.2.24/dbus/dbus-sysdeps-unix.c 2010-08-12 07:57:32.613009883 +0100
@@ -2986,6 +2986,9 @@
if (dup2 (errors_pipe[WRITE_END], 2) == -1)
_exit (1);
+#if HAVE_CLOSEFROM
+ closefrom(3);
+#else
maxfds = sysconf (_SC_OPEN_MAX);
/* Pick something reasonable if for some reason sysconf
* says unlimited.
@@ -2995,6 +2998,7 @@
/* close all inherited fds */
for (i = 3; i < maxfds; i++)
close (i);
+#endif
sigprocmask (SIG_SETMASK, &old_set, NULL);