pkgsrc-ng/x11/kde-workspace4/patches/patch-kdm_config.def
2013-09-26 17:14:40 +02:00

29 lines
704 B
Modula-2

$NetBSD: patch-kdm_config.def,v 1.1 2012/03/19 19:44:03 markd Exp $
NetBSD server args
--- kdm/config.def.orig 2009-07-30 07:44:51.000000000 +1200
+++ kdm/config.def
@@ -74,6 +74,12 @@
#else
# define DEF_SERVER_CMD XBINDIR "/X"
#endif
+
+#if defined(__NetBSD__) && !defined(__powerpc__)
+# define DEF_SERVER_ARGS "-nolisten tcp vt05"
+#else
+# define DEF_SERVER_ARGS "-nolisten tcp"
+#endif
</code>
# The contents of this section are copied mostly verbatim to the
@@ -1361,7 +1367,7 @@ Key: ServerArgsLocal
Type: string
Default: ""
User: core
-Instance: :*/"-nolisten tcp"
+Instance: :*/DEF_SERVER_ARGS
Comment: &
Description:
Additional arguments for the &X-Server;s for local sessions.