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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7190
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
Warnings are treated as fatal when building gnome-session, so this causes
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
an error when building with gcc as pid_t and int are not the same type.
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
Need to file upstream bug
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
--- gnome-session-3.16.0/gnome-session/gsm-dbus-client.c	2014-12-12 07:23:26.000000000 -0800
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
+++ gnome-session-3.16.0/gnome-session/gsm-dbus-client.c	2015-07-06 22:48:37.709502671 -0700
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
@@ -208,7 +208,7 @@
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
         retval = TRUE;
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
 
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
         g_debug ("uid = %d", uid);
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
-        g_debug ("pid = %d", pid);
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
+        g_debug ("pid = %d", (int) pid);
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
 
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
 out:
995b487a3de3 23245309 Move gnome-session to Userland and update to 3.18.1.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
         g_clear_pointer (&uid_variant, (GDestroyNotify) g_variant_unref);