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

16 lines
428 B
Plaintext
Raw Normal View History

2007-10-24 17:52:16 -04:00
$OpenBSD: patch-startkde,v 1.20 2007/10/24 21:52:16 espie Exp $
--- startkde.orig Mon Oct 8 13:09:44 2007
+++ startkde Thu Oct 18 14:52:58 2007
@@ -3,6 +3,11 @@
2007-10-24 17:52:16 -04:00
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.8 )
#
+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