Hello community, here is the log from the commit of package avahi checked in at Wed Apr 19 17:24:53 CEST 2006. -------- --- avahi/avahi.changes 2006-04-05 19:46:16.000000000 +0200 +++ STABLE/avahi/avahi.changes 2006-04-19 16:25:01.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Apr 19 16:11:02 CEST 2006 - jpr@suse.de + +- Fix compat layer ABI inconsistencies with mDNSResponder (part of +#149676) + +------------------------------------------------------------------- New: ---- avahi-compat-error-return.patch avahi-compat-txt-buffer-size.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avahi.spec ++++++ --- /var/tmp/diff_new_pack.6SNzMQ/_old 2006-04-19 17:23:54.000000000 +0200 +++ /var/tmp/diff_new_pack.6SNzMQ/_new 2006-04-19 17:23:54.000000000 +0200 @@ -13,7 +13,7 @@ Name: avahi BuildRequires: dbus-1-devel dbus-1-python doxygen graphviz libdaemon-devel libglade2-devel monodoc-core python-devel python-gdbm python-gtk qt-devel qt3-devel Version: 0.6.5 -Release: 16 +Release: 19 URL: http://www.avahi.org/ Group: System/Daemons License: LGPL @@ -22,6 +22,8 @@ Patch: avahi-gacdir.patch Patch1: avahi-biarch.patch Patch2: avahi-init-sleep.patch +Patch3: avahi-compat-error-return.patch +Patch4: avahi-compat-txt-buffer-size.patch Requires: dbus-1 python python-gdbm python-gtk Autoreqprov: on BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -328,6 +330,8 @@ %setup %patch %patch2 +%patch3 +%patch4 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -483,6 +487,9 @@ %{_libdir}/pkgconfig/avahi-qt4.pc %changelog -n avahi +* Wed Apr 19 2006 - jpr@suse.de +- Fix compat layer ABI inconsistencies with mDNSResponder (part of + [#149676]) * Wed Apr 05 2006 - sbrabec@suse.cz - Wait for daemon initialization in the init script (#150902). * Tue Apr 04 2006 - sbrabec@suse.cz ++++++ avahi-compat-error-return.patch ++++++ --- avahi-compat-libdns_sd/compat.c +++ avahi-compat-libdns_sd/compat.c @@ -374,8 +374,8 @@ } int DNSSD_API DNSServiceRefSockFD(DNSServiceRef sdref) { - assert(sdref); - assert(sdref->n_ref >= 1); + if (!sdref || sdref->n_ref <= 0) + return -1; AVAHI_WARN_LINKAGE; ++++++ avahi-compat-txt-buffer-size.patch ++++++ --- avahi-compat-libdns_sd/txt.c +++ avahi-compat-libdns_sd/txt.c @@ -60,7 +60,7 @@ if ((t = avahi_new(TXTRecordInternal, 1))) { t->buffer = buffer; - t->max_size = length; + t->max_size = buffer ? length : (size_t)0; t->size = 0; t->malloc_buffer = NULL; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de