aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/005_add_nxagent_wrapper.patch12
-rw-r--r--debian/patches/series1
3 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 460ba6fbd..6bb0f6586 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,5 +7,6 @@ nx-libs (2:3.5.0-0~x2go1) UNRELEASED; urgency=low
* Add patch: 002_nxcompshad-build-against-nx-x11-only.patch.
* Add patch: 003_nxcompshad-gcc43.patch.
* Add patch: 004_nx-x11-fix-nxcompshad-build.patch.
+ * Add patch: 005_add_nxagent_wrapper.patch.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 14 Oct 2011 03:01:39 +0200
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