aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/102_xserver-xext_set-securitypolicy-path.patch')
-rw-r--r--debian/patches/102_xserver-xext_set-securitypolicy-path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/102_xserver-xext_set-securitypolicy-path.patch b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
new file mode 100644
index 000000000..c0978c9ee
--- /dev/null
+++ b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
@@ -0,0 +1,16 @@
+## 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
+
+--- 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/nx/SecurityPolicy"
+
+ #endif
+