openbsd-ports/x11/kde/base3/patches/patch-startkde
espie 2529c3e220 start updating to kde 3.5.10
style issues, regen with new make plist.
2008-08-26 16:52:28 +00:00

16 lines
429 B
Plaintext

$OpenBSD: patch-startkde,v 1.22 2008/08/26 16:52:29 espie Exp $
--- startkde.orig Tue Aug 19 21:56:42 2008
+++ startkde Thu Aug 21 20:20:12 2008
@@ -3,6 +3,11 @@
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.10 )
#
+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