Index: head/devel/kf5-kio/Makefile =================================================================== --- head/devel/kf5-kio/Makefile (revision 517032) +++ head/devel/kf5-kio/Makefile (revision 517033) @@ -1,21 +1,22 @@ # $FreeBSD$ PORTNAME= kio DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 resource and network access abstraction USES= cmake compiler:c++11-lib desktop-file-utils \ gettext gnome kde:5 qt:5 ssl tar:xz USE_GNOME= libxml2 libxslt USE_KDE= archive auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons doctools ecm \ i18n iconthemes itemviews jobwidgets \ notifications service solid sonnet textwidgets wallet \ widgetsaddons windowsystem xmlgui USE_QT= buildtools_build concurrent core dbus gui network \ qmake_build script widgets x11extras xml .include Index: head/devel/kf5-kio/files/patch-git_02a8d3d =================================================================== --- head/devel/kf5-kio/files/patch-git_02a8d3d (nonexistent) +++ head/devel/kf5-kio/files/patch-git_02a8d3d (revision 517033) @@ -0,0 +1,46 @@ +From 02a8d3deb4f97046da4a0bb79abf9510d2d1c0a2 Mon Sep 17 00:00:00 2001 +From: David Faure +Date: Wed, 23 Oct 2019 09:29:55 +0200 +Subject: kio_http: avoid double Content-Type and Depth when used by KDAV + +Summary: This makes libkdav 19.08 work again after commit 9713ea02e49eda. + +Test Plan: syncing a CALDAV calendar in korganizer no longer fails + +Reviewers: vkrause + +Subscribers: kde-frameworks-devel + +Tags: #frameworks + +Differential Revision: https://phabricator.kde.org/D24880 +--- + src/ioslaves/http/http.cpp | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/ioslaves/http/http.cpp b/src/ioslaves/http/http.cpp +index e3bad6c..11dd7af 100644 +--- src/ioslaves/http/http.cpp ++++ src/ioslaves/http/http.cpp +@@ -172,7 +172,8 @@ static QString sanitizeCustomHTTPHeader(const QString &_header) + if (!header.contains(QLatin1Char(':')) || + header.startsWith(QLatin1String("host"), Qt::CaseInsensitive) || + header.startsWith(QLatin1String("proxy-authorization"), Qt::CaseInsensitive) || +- header.startsWith(QLatin1String("via"), Qt::CaseInsensitive)) { ++ header.startsWith(QLatin1String("via"), Qt::CaseInsensitive) || ++ header.startsWith(QLatin1String("depth"), Qt::CaseInsensitive)) { + continue; + } + +@@ -2599,7 +2600,7 @@ bool HTTPProtocol::sendQuery() + davHeader += metaData(QStringLiteral("davHeader")); + + // Set content type of webdav data +- if (hasDavData) { ++ if (hasDavData && !header.contains(QLatin1String("Content-Type: "))) { + davHeader += QStringLiteral("Content-Type: text/xml; charset=utf-8\r\n"); + } + +-- +cgit v1.1 + Property changes on: head/devel/kf5-kio/files/patch-git_02a8d3d ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property