diff options
Diffstat (limited to 'net/avahi-app/files/patch-avahi-common_dbus-watch-glue.c')
-rw-r--r-- | net/avahi-app/files/patch-avahi-common_dbus-watch-glue.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/avahi-app/files/patch-avahi-common_dbus-watch-glue.c b/net/avahi-app/files/patch-avahi-common_dbus-watch-glue.c new file mode 100644 index 000000000..1e148af85 --- /dev/null +++ b/net/avahi-app/files/patch-avahi-common_dbus-watch-glue.c @@ -0,0 +1,14 @@ +--- avahi-common/dbus-watch-glue.c.orig 2007-08-26 00:46:45.000000000 -0400 ++++ avahi-common/dbus-watch-glue.c 2007-08-26 00:47:12.000000000 -0400 +@@ -134,7 +134,11 @@ static dbus_bool_t update_watch(const Av + + if (!(avahi_watch = poll_api->watch_new( + poll_api, ++#if (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MINOR == 1 && DBUS_VERSION_MICRO >= 1) || (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MAJOR > 1) || (DBUS_VERSION_MAJOR > 1) + dbus_watch_get_unix_fd(dbus_watch), ++#else ++ dbus_watch_get_fd(dbus_watch), ++#endif + translate_dbus_to_avahi(dbus_watch_get_flags(dbus_watch)), + watch_callback, + dbus_watch))) |