summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/nxserver-freenx/files')
-rw-r--r--net-misc/nxserver-freenx/files/freenx-svn-xorg7.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/nxserver-freenx/files/freenx-svn-xorg7.patch b/net-misc/nxserver-freenx/files/freenx-svn-xorg7.patch
new file mode 100644
index 0000000..5d7f2b7
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/freenx-svn-xorg7.patch
@@ -0,0 +1,18 @@
+--- freenx-server/nxnode 2005-08-07 12:53:57.000000000 +0300
++++ freenx-server/nxnode 2006-02-02 00:00:25.000000000 +0200
+@@ -22,6 +22,15 @@
+
+ echo "NX> 1000 NXNODE - Version $NX_VERSION $NX_LICENSE"
+
++### Patch for Xorg-x11 >=7.0 by Oskari Rauta begins here ###
++
++if test `X -version 2>&1 | grep "X Window System Version" | awk '{ print $5 }' | awk -F. '{ print $1 }'` -ge 7
++ then
++ export XKEYSYMDB=/usr/share/X11/XKeysymDB
++ fi
++
++### Patch for Xorg-x11 >= 7.0 by Oskari Rauta ends here..
++
+ if [ "$1" != "--check" -a "$1" != "--setkey" -a "$1" != "--agent" -a "$1" != "--slave" ]
+ then
+ read CMDLINE