diff options
Diffstat (limited to 'devel/dbus/files/patch-dbus_dbus-sysdeps-util-unix.c')
-rw-r--r-- | devel/dbus/files/patch-dbus_dbus-sysdeps-util-unix.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/dbus/files/patch-dbus_dbus-sysdeps-util-unix.c b/devel/dbus/files/patch-dbus_dbus-sysdeps-util-unix.c new file mode 100644 index 000000000..28701094b --- /dev/null +++ b/devel/dbus/files/patch-dbus_dbus-sysdeps-util-unix.c @@ -0,0 +1,11 @@ +--- dbus/dbus-sysdeps-util-unix.c.orig Sat Oct 7 12:33:47 2006 ++++ dbus/dbus-sysdeps-util-unix.c Sat Oct 7 12:34:13 2006 +@@ -502,7 +502,7 @@ static dbus_bool_t + dirent_buf_size(DIR * dirp, size_t *size) + { + long name_max; +-# if defined(HAVE_FPATHCONF) && defined(HAVE_DIRFD) \ ++# if defined(HAVE_FPATHCONF) && ( defined(HAVE_DIRFD) || defined(dirfd) )\ + && defined(_PC_NAME_MAX) + name_max = fpathconf(dirfd(dirp), _PC_NAME_MAX); + if (name_max == -1) |