aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-12 12:15:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-01-12 12:15:14 +0100
commitd6fee9a41fa3ba5db01d46963571a5a039ad1786 (patch)
treef0727c585fb338fdc74d0cf1da93cc59290bcbab /debian/patches
parent8f76198c5012a04ca8b5e10c3f133815008178ba (diff)
downloadnx-libs-d6fee9a41fa3ba5db01d46963571a5a039ad1786.tar.gz
nx-libs-d6fee9a41fa3ba5db01d46963571a5a039ad1786.tar.bz2
nx-libs-d6fee9a41fa3ba5db01d46963571a5a039ad1786.zip
Modify patch: 101_nxagent_set-rgb-path.patch, add path to RGB file if NX (redistributed) is installed via tarball under /usr/local.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/101_nxagent_set-rgb-path.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/101_nxagent_set-rgb-path.patch b/debian/patches/101_nxagent_set-rgb-path.patch
index b77348cc0..793b19d5b 100644
--- a/debian/patches/101_nxagent_set-rgb-path.patch
+++ b/debian/patches/101_nxagent_set-rgb-path.patch
@@ -5,7 +5,7 @@ Description: FHS path fix for rgb file
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/os/oscolor.c
+++ b/nx-X11/programs/Xserver/os/oscolor.c
@@ -53,7 +53,7 @@
@@ -13,7 +13,7 @@ Last-Update: 2011-12-31
#include <unistd.h>
-static char* nxAltRgbPaths[] = {"/usr/NX/share/rgb", "/usr/share/X11/rgb", "/etc/X11/rgb"};
-+static char* nxAltRgbPaths[] = {"/usr/share/nx/rgb", "/usr/NX/share/rgb", "/usr/share/X11/rgb", "/etc/X11/rgb"};
++static char* nxAltRgbPaths[] = {"/usr/share/nx/rgb", "/usr/local/share/nx/rgb", "/usr/NX/share/rgb", "/usr/share/X11/rgb", "/etc/X11/rgb"};
static char _NXRgbPath[1024];
#endif