summaryrefslogtreecommitdiffstats
path: root/redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturke@gmail.com>2011-11-13 19:27:09 -0500
committerCalvin Morrison <mutantturke@gmail.com>2011-11-13 19:27:09 -0500
commitb04ad86203e19f0e89e971fefc3f40b380cbe7b2 (patch)
tree639782b440de136501ae6ee50d8d54450765346f /redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
parent7123ebd91f9851d8a0479d043508ec5885e24f91 (diff)
parent70daaabb4fd5f3b559f5ef489377c9fe93a47f0d (diff)
downloadtde-packaging-b04ad86203e19f0e89e971fefc3f40b380cbe7b2.tar.gz
tde-packaging-b04ad86203e19f0e89e971fefc3f40b380cbe7b2.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch')
-rw-r--r--redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch b/redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
new file mode 100644
index 000000000..8d7c53693
--- /dev/null
+++ b/redhat/kdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
@@ -0,0 +1,33 @@
+diff -ur kdenetwork-orig/krfb/krfb_httpd/krfb_httpd kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd
+--- kdenetwork-orig/krfb/krfb_httpd/krfb_httpd 2007-05-14 09:40:05.000000000 +0200
++++ kdenetwork-3.5.9/krfb/krfb_httpd/krfb_httpd 2008-02-26 12:43:21.000000000 +0100
+@@ -6,17 +6,14 @@
+ fi
+
+ read request url httptype || exit 0
+-url="${url/
+-/}"
+-httptype="${httptype/
+-/}"
++url="${url/ /}"
++httptype="${httptype/ /}"
+
+ if [ "x$httptype" != "x" ]; then
+ line="x"
+ while [ -n "$line" ]; do
+ read line || exit 0
+- line="${line/
+-/}"
++ line="${line/ /}"
+ done
+ fi
+ # echo "url = $url, request = $request" >> /tmp/httpd.log
+@@ -38,7 +35,7 @@
+ content="
+ <HTML><HEAD><TITLE>$LOGNAME's desktop</TITLE></HEAD>
+ <BODY>
+-<APPLET CODE=VncViewer.class ARCHIVE=VncViewer.jar WIDTH=$width HEIGHT=$height>
++<APPLET CODE=vncviewer/VNCViewer.class ARCHIVE=vncviewer.jar WIDTH=$width HEIGHT=$height>
+ <param name=PORT value=$port>
+ </APPLET>
+ </BODY></HTML>"