From d6fee9a41fa3ba5db01d46963571a5a039ad1786 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 12 Jan 2012 12:15:14 +0100 Subject: Modify patch: 101_nxagent_set-rgb-path.patch, add path to RGB file if NX (redistributed) is installed via tarball under /usr/local. --- debian/patches/101_nxagent_set-rgb-path.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/patches') 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 . Forwarded: not-needed Author: Mike Gabriel -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 -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 -- cgit v1.2.3