diff --git a/gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch b/gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch new file mode 100644 index 0000000..4196312 --- /dev/null +++ b/gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch @@ -0,0 +1,29 @@ +From d28f4d6d3b5abc0001fbf11f4ff54aeacece84b6 Mon Sep 17 00:00:00 2001 +From: Ray Strode +Date: Wed, 4 Nov 2015 15:11:29 -0500 +Subject: [PATCH] xdmcp-display: this shouldn't be an abstract type + +We instantiate it directly, so make it a normal +type. + +https://bugzilla.gnome.org/show_bug.cgi?id=757714 +--- + daemon/gdm-xdmcp-display.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/daemon/gdm-xdmcp-display.c b/daemon/gdm-xdmcp-display.c +index 764bcff..c9f9c3d 100644 +--- a/daemon/gdm-xdmcp-display.c ++++ b/daemon/gdm-xdmcp-display.c +@@ -66,7 +66,7 @@ enum { + static void gdm_xdmcp_display_class_init (GdmXdmcpDisplayClass *klass); + static void gdm_xdmcp_display_init (GdmXdmcpDisplay *xdmcp_display); + +-G_DEFINE_ABSTRACT_TYPE (GdmXdmcpDisplay, gdm_xdmcp_display, GDM_TYPE_DISPLAY) ++G_DEFINE_TYPE (GdmXdmcpDisplay, gdm_xdmcp_display, GDM_TYPE_DISPLAY) + + gint32 + gdm_xdmcp_display_get_session_number (GdmXdmcpDisplay *display) +-- +2.6.2 + diff --git a/gdm.changes b/gdm.changes index fee2bc3..0b9eb57 100644 --- a/gdm.changes +++ b/gdm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 10 10:05:39 UTC 2016 - fcrozat@suse.com + +- Add gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch: + fix xdmcp not working at all (bgo#757714). + ------------------------------------------------------------------- Tue Dec 29 11:39:32 UTC 2015 - zaitor@opensuse.org diff --git a/gdm.spec b/gdm.spec index a9dcbb7..2ea3627 100644 --- a/gdm.spec +++ b/gdm.spec @@ -1,7 +1,7 @@ # # spec file for package gdm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,6 +60,8 @@ Patch34: gdm-default-wm.patch Patch35: gdm-xauthlocalhostname.patch # PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running Patch41: gdm-plymouth-vt1.patch +# PATCH-FIX-UPSTREAM gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch bgo#757714 fcrozat@suse.com -- Fix xdmcp not starting at all +Patch42: gdm-xdmcp-display-this-shouldn-t-be-an-abstract-type.patch BuildRequires: check-devel # needed for directory ownership BuildRequires: dconf @@ -192,6 +194,7 @@ translation-update-upstream %patch34 -p1 #patch35 -p1 %patch41 -p1 +%patch42 -p1 %build NOCONFIGURE=1 sh autogen.sh