aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-12 13:00:23 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-12 13:00:23 +0100
commit760c5c07c63798e0e065020456e7514c8dd8b72d (patch)
treed23dbbd9eb45acd634fc4f4c7a1b1478629111cb /debian/patches/102_xserver-xext_set-securitypolicy-path.patch
parentd6fee9a41fa3ba5db01d46963571a5a039ad1786 (diff)
downloadnx-libs-760c5c07c63798e0e065020456e7514c8dd8b72d.tar.gz
nx-libs-760c5c07c63798e0e065020456e7514c8dd8b72d.tar.bz2
nx-libs-760c5c07c63798e0e065020456e7514c8dd8b72d.zip
Provide patches that are tarball / distro aware. Either NX (redistributed) has been installed to /usr/local/lib/nx via tarball or it has been packagedfor a distribution and is installed to /usr/lib/nx. Other installation paths are currently not supported.
Diffstat (limited to 'debian/patches/102_xserver-xext_set-securitypolicy-path.patch')
-rw-r--r--debian/patches/102_xserver-xext_set-securitypolicy-path.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/102_xserver-xext_set-securitypolicy-path.patch b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
index 4f43eeb37..9d27a372f 100644
--- a/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
+++ b/debian/patches/102_xserver-xext_set-securitypolicy-path.patch
@@ -1,11 +1,11 @@
Description: FHS path fix for SecurityPolicy file
- This patch is needed on Debian only, not reporting this path
- change to upstream.
+ This patch is needed for Tarball installation mode of NX (redistributed)
+ only, not reporting this path change to upstream.
.
Originally contributed by Marcelo Boveto Shima <marceloshima@gmail.com>.
Forwarded: not-needed
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
-Last-Update: 2011-12-31
+Last-Update: 2012-01-12
--- a/nx-X11/programs/Xserver/Xext/security.c
+++ b/nx-X11/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@
@@ -13,7 +13,7 @@ Last-Update: 2011-12-31
#ifdef NXAGENT_SERVER
-#define NX_ALTERNATIVEPOLICYFILE "/usr/lib/xserver/SecurityPolicy"
-+#define NX_ALTERNATIVEPOLICYFILE "/usr/share/nx/SecurityPolicy"
++#define NX_ALTERNATIVEPOLICYFILE "/usr/local/share/nx/SecurityPolicy"
#endif