From cf6c1774e9ed9a84d8f1f94074c97f2e21a207c7 Mon Sep 17 00:00:00 2001 From: avilla Date: Sat, 28 May 2011 18:42:13 +0000 Subject: - Fix the Konqueror double-POST regression. - Bump PORTREVISION. Obtained from: https://projects.kde.org/projects/kde/kdelibs/repository/revisions/92db24adfa941003db1d885df01157056617f30b --- x11/kdelibs4/Makefile | 1 + x11/kdelibs4/files/patch-git-92db24ad | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 x11/kdelibs4/files/patch-git-92db24ad (limited to 'x11') diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index 3d8ed3af066c..f1588414565a 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdelibs PORTVERSION= ${KDE4_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src diff --git a/x11/kdelibs4/files/patch-git-92db24ad b/x11/kdelibs4/files/patch-git-92db24ad new file mode 100644 index 000000000000..4c4af2f692f4 --- /dev/null +++ b/x11/kdelibs4/files/patch-git-92db24ad @@ -0,0 +1,27 @@ +commit 92db24adfa941003db1d885df01157056617f30b +Author: Maks Orlovich +Date: Sun May 8 14:39:03 2011 -0400 + + Fix the job-on-hold reuse logic, which caused the double-POST problem) + + adawit, could you please at least READ what you're backporting if you are + going to be this aggressive? Or better yet, please don't backport anything + that's not fixing a critical bug or is trivial, as per: + http://techbase.kde.org/Policies/Minor_Point_Release_Policy + + CCMAIL: adawit@kde.org + BUG: 272466 + +diff --git kio/kio/scheduler.cpp kio/kio/scheduler.cpp +index 55da053..9f5607e 100644 +--- kio/kio/scheduler.cpp ++++ kio/kio/scheduler.cpp +@@ -1151,7 +1151,7 @@ Slave *SchedulerPrivate::heldSlaveForJob(SimpleJob *job) + bool canJobReuse = (cmd == CMD_GET || cmd == CMD_MULTI_GET); + + if (KIO::TransferJob *tJob = qobject_cast(job)) { +- canJobReuse = cmd == (canJobReuse || cmd == CMD_SPECIAL); ++ canJobReuse = (canJobReuse || cmd == CMD_SPECIAL); + if (canJobReuse) { + KIO::MetaData outgoing = tJob->outgoingMetaData(); + const QString resume = outgoing.value("resume"); -- cgit