openbsd-ports/x11/kde/base3/patches/patch-startkde

21 lines
529 B
Plaintext
Raw Normal View History

2009-11-14 11:41:57 -05:00
$OpenBSD: patch-startkde,v 1.23 2009/11/14 16:41:57 ajacoutot Exp $
--- startkde.orig Tue Aug 19 21:56:42 2008
2009-11-14 11:41:57 -05:00
+++ startkde Sat Nov 14 16:55:43 2009
@@ -3,6 +3,16 @@
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.10 )
#
+case X"$DISPLAY" in
+X)
+ exec /usr/X11R6/bin/startx $0;;
+esac
2009-11-14 11:41:57 -05:00
+
+if [ -z "${XDG_MENU_PREFIX}" ] ; then
+ XDG_MENU_PREFIX="kde3-"
+ export XDG_MENU_PREFIX
+fi
+
# When the X server dies we get a HUP signal from xinit. We must ignore it
# because we still need to do some cleanup.
trap 'echo GOT SIGHUP' HUP