components/gnome/gnome-session/patches/02-gcc4.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Fri, 28 Oct 2016 14:58:08 -0700
changeset 7190 995b487a3de3
permissions -rw-r--r--
23245309 Move gnome-session to Userland and update to 3.18.1.2 18322887 gnome-session should be built with x11/library/xtrans PSARC/2016/323 GNOME Login and Session Management

Warnings are treated as fatal when building gnome-session, so this causes
an error when building with gcc as pid_t and int are not the same type.

Need to file upstream bug

--- gnome-session-3.16.0/gnome-session/gsm-dbus-client.c	2014-12-12 07:23:26.000000000 -0800
+++ gnome-session-3.16.0/gnome-session/gsm-dbus-client.c	2015-07-06 22:48:37.709502671 -0700
@@ -208,7 +208,7 @@
         retval = TRUE;
 
         g_debug ("uid = %d", uid);
-        g_debug ("pid = %d", pid);
+        g_debug ("pid = %d", (int) pid);
 
 out:
         g_clear_pointer (&uid_variant, (GDestroyNotify) g_variant_unref);