summaryrefslogtreecommitdiff
path: root/x11/kdelibs3
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-04-07 18:58:24 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-04-07 18:58:24 +0000
commit87052fc3c4336b3004e21f0772efc17c7fad72ca (patch)
tree1b307faac262321255e097f5c721e3169dee391b /x11/kdelibs3
parent- Update to 2.3-20060405 (diff)
Fix KDE bug 124654.
Obtained from: KDE SVN, Alexander Stepanov <sam@comintel.ru>
Notes
Notes: svn path=/head/; revision=159071
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r--x11/kdelibs3/Makefile1
-rw-r--r--x11/kdelibs3/files/patch-kioslave_http-http.cc19
2 files changed, 20 insertions, 0 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index f793c673a593..a94d1ae0d82c 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs3/files/patch-kioslave_http-http.cc b/x11/kdelibs3/files/patch-kioslave_http-http.cc
new file mode 100644
index 000000000000..7c2565aa3a87
--- /dev/null
+++ b/x11/kdelibs3/files/patch-kioslave_http-http.cc
@@ -0,0 +1,19 @@
+--- kioslave/http/http.cc.orig Fri Apr 7 06:17:01 2006
++++ kioslave/http/http.cc Fri Apr 7 06:18:00 2006
+@@ -3590,6 +3590,16 @@
+ error(ERR_ACCESS_DENIED, u.url());
+ return false;
+ }
++
++ // preserve #ref: (bug 124654)
++ // if we were at http://host/resource1#ref, we sent a GET for "/resource1"
++ // if we got redirected to http://host/resource2, then we have to re-add
++ // the fragment:
++ if (m_request.url.hasRef() && !u.hasRef() &&
++ (m_request.url.host() == u.host()) &&
++ (m_request.url.protocol() == u.protocol()))
++ u.setRef(m_request.url.ref());
++
+ m_bRedirect = true;
+ m_redirectLocation = u;
+