freebsd-ports/x11/kdebase3/files/patch-kdm-kfrontend-genkdmconf.c
Martin Wilke 1bbc977b7a - Fix build on HEAD
Submitted by:	ed@
2010-02-09 19:35:27 +00:00

31 lines
708 B
C

--- kdm/kfrontend/genkdmconf.c
+++ kdm/kfrontend/genkdmconf.c
@@ -44,9 +44,6 @@
#include <limits.h>
#include <sys/stat.h>
#include <sys/param.h>
-#ifdef BSD
-# include <utmp.h>
-#endif
#include "config.ci"
@@ -1592,7 +1589,7 @@
#else
# ifdef BSD
delstr( file, "\n"
-"exec sessreg -a -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) |
+"exec sessreg -a -l $DISPLAY -x */Xservers $USER\n" ) |
# endif
#endif /* _AIX */
delstr( file, "\n"
@@ -1641,7 +1638,7 @@
#else
# ifdef BSD
delstr( file, "\n"
-"exec sessreg -d -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) |
+"exec sessreg -d -l $DISPLAY -x */Xservers $USER\n" ) |
# endif
#endif /* _AIX */
delstr( file, "\n"