gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / libunique / patches / 03-warnings.patch
blob4fe79de0f1ff0640e86f7c6a814315183ec6690a
1 --- libunique-1.1.6/unique/bacon/uniquebackend-bacon.c.~1~ 2015-03-17 16:24:19.457635546 +0300
2 +++ libunique-1.1.6/unique/bacon/uniquebackend-bacon.c 2015-03-17 16:24:32.791997755 +0300
3 @@ -186,7 +186,7 @@
5 g_free (basename);
7 - basename = g_strdup_printf ("%s.%s.%d", name, token, getpid ());
8 + basename = g_strdup_printf ("%s.%s.%d", name, token, (int)getpid ());
10 path = g_build_filename (tmpdir, basename, NULL);
12 --- libunique-1.1.6/unique/dbus/uniquebackend-dbus.c.~1~ 2015-03-17 16:25:35.346917674 +0300
13 +++ libunique-1.1.6/unique/dbus/uniquebackend-dbus.c 2015-03-17 16:27:51.243028927 +0300
14 @@ -84,7 +84,6 @@
15 static gboolean
16 unique_backend_dbus_request_name (UniqueBackend *backend)
18 - UniqueBackendDBus *backend_dbus;
19 const gchar *name;
20 DBusGConnection *connection;
21 DBusGProxy *proxy;
22 @@ -97,7 +96,6 @@
23 if (!connection)
24 return FALSE;
26 - backend_dbus = UNIQUE_BACKEND_DBUS (backend);
28 retval = TRUE;
29 name = unique_backend_get_name (backend);
30 @@ -186,7 +184,6 @@
31 GValueArray *data;
32 gchar *cmd;
33 gchar *resp;
34 - gboolean res;
35 GError *error;
36 UniqueResponse response;
38 @@ -203,7 +200,7 @@
39 resp = NULL;
41 error = NULL;
42 - res = org_gtk_UniqueApp_send_message (backend_dbus->proxy,
43 + org_gtk_UniqueApp_send_message (backend_dbus->proxy,
44 cmd, data, time_,
45 &resp,
46 &error);