File gdm-disable-journal.patch of Package gdm.16051

Index: gdm-3.10.0.1/daemon/gdm-slave-proxy.c
===================================================================
--- gdm-3.10.0.1.orig/daemon/gdm-slave-proxy.c
+++ gdm-3.10.0.1/daemon/gdm-slave-proxy.c
@@ -137,7 +137,7 @@ typedef struct {
 static void
 spawn_child_setup (SpawnChildData *data)
 {
-#ifdef WITH_SYSTEMD
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
         if (sd_booted () > 0) {
                 return;
         }
@@ -185,7 +185,7 @@ spawn_command_line_async (const char *co
 
         data.identifier = argv[0];
 
-#ifdef WITH_SYSTEMD
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
         if (sd_booted () > 0) {
                 has_journald = TRUE;
         }