aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/005_add_nxagent_wrapper.patch12
-rw-r--r--debian/patches/series1
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/005_add_nxagent_wrapper.patch b/debian/patches/005_add_nxagent_wrapper.patch
new file mode 100644
index 000000000..a2a9f928b
--- /dev/null
+++ b/debian/patches/005_add_nxagent_wrapper.patch
@@ -0,0 +1,12 @@
+--- /dev/null
++++ b/bin/nxagent
+@@ -0,0 +1,9 @@
++#!/bin/bash
++
++NX_LIBS=/usr/lib/nx
++LD_LIBRARY_PATH=/usr/lib/nx
++
++export NX_LIBS
++export LD_LIBRARY_PATH
++
++exec /usr/lib/nx/nxagent "$@"
diff --git a/debian/patches/series b/debian/patches/series
index 38a604183..d004ac1d3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
002_nxcompshad-build-against-nx-x11-only.patch
003_nxcompshad-gcc43.patch
004_nx-x11-fix-nxcompshad-build.patch
+005_add_nxagent_wrapper.patch