openbsd-ports/x11/kde/base3/patches/patch-startkde
2005-07-28 08:47:39 +00:00

16 lines
428 B
Plaintext

$OpenBSD: patch-startkde,v 1.10 2005/07/28 08:47:40 espie Exp $
--- startkde.orig Wed Jul 20 12:04:12 2005
+++ startkde Sat Jul 23 15:43:39 2005
@@ -3,6 +3,11 @@
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.4.2 )
#
+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