openbsd-ports/x11/kde/base3/patches/patch-startkde
2008-03-25 17:34:14 +00:00

16 lines
428 B
Plaintext

$OpenBSD: patch-startkde,v 1.21 2008/03/25 17:34:14 espie Exp $
--- startkde.orig Wed Feb 13 10:49:19 2008
+++ startkde Fri Feb 15 00:05:14 2008
@@ -3,6 +3,11 @@
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.9 )
#
+case X"$DISPLAY" in
+X)
+ exec /usr/X11R6/bin/startx $0;;
+esac
+
# 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