linamh/net-misc/nx-X11/files/87_set_securitypolicy_path.dpatch
2010-08-28 08:18:00 +00:00

19 lines
492 B
Plaintext

#! /bin/sh /usr/share/dpatch/dpatch-run
## dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the path to the keyboard configuration file
@DPATCH@
--- a/programs/Xserver/Xext/security.c
+++ b/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@
#ifdef NXAGENT_SERVER
-#define NX_ALTERNATIVEPOLICYFILE "/usr/lib/xserver/SecurityPolicy"
+#define NX_ALTERNATIVEPOLICYFILE "/usr/share/nxagent/SecurityPolicy"
#endif