rpms/avahi/devel avahi-sharp-lock.patch, NONE, 1.1 avahi-0.6.9-mono-libdir.patch, NONE, 1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 2 21:20:40 UTC 2006


Author: jvdias

Update of /cvs/dist/rpms/avahi/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12473

Added Files:
	avahi-sharp-lock.patch avahi-0.6.9-mono-libdir.patch 
Log Message:
fix avahi-sharp / banshee issues - patches from Chris Aillon

avahi-sharp-lock.patch:
 EntryGroup.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

--- NEW FILE avahi-sharp-lock.patch ---
http://www.avahi.org/changeset/1188
Fixes a sporadic crash in banshee


Index: trunk/avahi-sharp/EntryGroup.cs
===================================================================
--- trunk/avahi-sharp/EntryGroup.cs (revision 1021)
+++ trunk/avahi-sharp/EntryGroup.cs (revision 1188)
@@ -237,9 +237,13 @@
                                  string domain, string host, UInt16 port, IntPtr list)
         {
-            int ret = avahi_entry_group_add_service_strlst (handle, iface, proto, flags,
+            int ret;
+
+            lock (client) {
+                ret = avahi_entry_group_add_service_strlst (handle, iface, proto, flags,
                                                             Utility.StringToBytes (name),
                                                             Utility.StringToBytes (type),
                                                             Utility.StringToBytes (domain),
                                                             Utility.StringToBytes (host), port, list);
+            }
             
             avahi_string_list_free (list);

avahi-0.6.9-mono-libdir.patch:
 avahi-sharp.pc.in |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE avahi-0.6.9-mono-libdir.patch ---
--- avahi-0.6.9/avahi-sharp.pc.in.mono-libdir	2006-05-02 16:38:13.000000000 -0400
+++ avahi-0.6.9/avahi-sharp.pc.in	2006-05-02 16:38:42.000000000 -0400
@@ -5,4 +5,4 @@
 Name: avahi-sharp
 Description: Mono bindings for the Avahi mDNS/DNS-SD stack
 Version: @PACKAGE_VERSION@
-Libs: -r:${libdir}/mono/avahi-sharp/avahi-sharp.dll
+Libs: -r:${prefix}/lib/mono/avahi-sharp/avahi-sharp.dll




More information about the fedora-cvs-commits mailing list