summaryrefslogtreecommitdiffstats
path: root/redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch')
-rw-r--r--redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch b/redhat/tdenetwork/kdenetwork-3.5.9-krfb_httpd.patch
new file mode 100644
index 000000000..8d7c53693
--- /dev/null
+++ b/redhat/tdenetwork/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>"