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.spec b/gdm.spec index 9a3b9c4..8093126 100644 --- a/gdm.spec +++ b/gdm.spec @@ -58,6 +58,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 @@ -185,6 +187,7 @@ translation-update-upstream %patch34 -p1 #patch35 -p1 %patch41 -p1 +%patch42 -p1 %build NOCONFIGURE=1 sh autogen.sh