diff --git a/x11/gnome/session/Makefile b/x11/gnome/session/Makefile index f25d4838f8b..0389de0faaf 100644 --- a/x11/gnome/session/Makefile +++ b/x11/gnome/session/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.202 2011/12/03 22:17:17 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.203 2012/01/02 13:22:21 ajacoutot Exp $ COMMENT= GNOME session GNOME_PROJECT= gnome-session GNOME_VERSION= 3.2.1 -REVISION= 6 +REVISION= 7 CATEGORIES= x11 diff --git a/x11/gnome/session/patches/patch-tools_gnome-session-check-accelerated-helper_c b/x11/gnome/session/patches/patch-tools_gnome-session-check-accelerated-helper_c new file mode 100644 index 00000000000..92bf2efbe63 --- /dev/null +++ b/x11/gnome/session/patches/patch-tools_gnome-session-check-accelerated-helper_c @@ -0,0 +1,17 @@ +$OpenBSD: patch-tools_gnome-session-check-accelerated-helper_c,v 1.1 2012/01/02 13:22:21 ajacoutot Exp $ + +XXX remove when we have gnome-shell. + +--- tools/gnome-session-check-accelerated-helper.c.orig Mon Jan 2 14:19:34 2012 ++++ tools/gnome-session-check-accelerated-helper.c Mon Jan 2 14:19:17 2012 +@@ -260,6 +260,10 @@ main (int argc, char **argv) + Display *display = NULL; + int ret = 1; + ++#ifdef __OpenBSD__ ++ _print_error ("Running on OpenBSD, forcing fallback mode."); ++ goto out; ++#endif + display = XOpenDisplay (NULL); + if (!display) { + _print_error ("No X display.");