Hello community, here is the log from the commit of package libunique1 for openSUSE:Factory checked in at Mon May 23 12:36:25 CEST 2011.
-------- --- libunique1/libunique1.changes 2011-04-22 11:23:45.000000000 +0200 +++ /mounts/work_src_done/STABLE/libunique1/libunique1.changes 2011-05-19 18:27:12.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 19 16:20:02 UTC 2011 - [email protected] + +- Add libunique1-gcc46.patch: Fix build with gcc 4.6. Patch taken + from master branch. Applies cleanly on unique-1.1 branch. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libunique1-gcc46.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libunique1.spec ++++++ --- /var/tmp/diff_new_pack.fiAVEV/_old 2011-05-23 12:35:31.000000000 +0200 +++ /var/tmp/diff_new_pack.fiAVEV/_new 2011-05-23 12:35:31.000000000 +0200 @@ -20,12 +20,14 @@ Name: libunique1 %define _name libunique Version: 1.1.6 -Release: 1 +Release: 10 License: LGPLv2.1+ Summary: A library for writing single instance application Url: http://live.gnome.org/LibUnique Group: System/Libraries Source: %{_name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM libunique1-gcc46.patch [email protected] -- Backport commit f791ed from master to unique-1.1. +Patch0: libunique1-gcc46.patch BuildRequires: gobject-introspection-devel BuildRequires: dbus-1-glib-devel BuildRequires: gtk-doc @@ -67,6 +69,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %configure --enable-debug=no --enable-static=no --enable-dbus=yes ++++++ libunique1-gcc46.patch ++++++ >From f791ed16b19dddc7fbaf90d8f797520e67883021 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi <[email protected]> Date: Sun, 27 Mar 2011 08:42:22 +0000 Subject: Remove compiler warnings --- (limited to 'unique/dbus/uniquebackend-dbus.c') diff --git a/unique/dbus/uniquebackend-dbus.c b/unique/dbus/uniquebackend-dbus.c index cbb7258..14fb659 100644 --- a/unique/dbus/uniquebackend-dbus.c +++ b/unique/dbus/uniquebackend-dbus.c @@ -87,7 +87,6 @@ unique_backend_dbus_register_proxy (UniqueBackendDBus *backend_dbus) static gboolean unique_backend_dbus_request_name (UniqueBackend *backend) { - UniqueBackendDBus *backend_dbus; const gchar *name; DBusGConnection *connection; DBusGProxy *proxy; @@ -100,8 +99,6 @@ unique_backend_dbus_request_name (UniqueBackend *backend) if (!connection) return FALSE; - backend_dbus = UNIQUE_BACKEND_DBUS (backend); - retval = TRUE; name = unique_backend_get_name (backend); g_assert (name != NULL); @@ -210,10 +207,14 @@ unique_backend_dbus_send_message (UniqueBackend *backend, cmd, data, time_, &resp, &error); - if (error) + if (!res) { - g_warning ("Error while sending message: %s", error->message); - g_error_free (error); + if (error) + { + g_warning ("Error while sending message: %s", error->message); + g_error_free (error); + } + g_free (cmd); return UNIQUE_RESPONSE_INVALID; -- cgit v0.9 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
