Date: Sun, 23 Sep 2012 19:45:49 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304764 - in head/net-p2p/ktorrent: . files Message-ID: <201209231945.q8NJjnsM063453@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Sun Sep 23 19:45:49 2012 New Revision: 304764 URL: http://svn.freebsd.org/changeset/ports/304764 Log: Restore ktorren-4.2 behaviour - don't check for mounted fs. The check was added to support removable storages, but it causes problem with btrfs and zfs: https://bugs.kde.org/306825 Added: head/net-p2p/ktorrent/files/patch-ktorrent__core.cpp (contents, props changed) Modified: head/net-p2p/ktorrent/Makefile Modified: head/net-p2p/ktorrent/Makefile ============================================================================== --- head/net-p2p/ktorrent/Makefile Sun Sep 23 19:07:07 2012 (r304763) +++ head/net-p2p/ktorrent/Makefile Sun Sep 23 19:45:49 2012 (r304764) @@ -3,6 +3,7 @@ PORTNAME= ktorrent DISTVERSION= 4.3.0 +PORTREVISION= 1 CATEGORIES= net-p2p kde MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION}/ Added: head/net-p2p/ktorrent/files/patch-ktorrent__core.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/ktorrent/files/patch-ktorrent__core.cpp Sun Sep 23 19:45:49 2012 (r304764) @@ -0,0 +1,29 @@ +--- ./ktorrent/core.cpp.orig 2012-09-01 08:59:57.000000000 +0000 ++++ ./ktorrent/core.cpp 2012-09-23 19:02:36.644549119 +0000 +@@ -1206,26 +1206,6 @@ + + bool Core::checkMissingFiles(TorrentInterface* tc) + { +- QStringList not_mounted; +- while(!tc->isStorageMounted(not_mounted)) +- { +- QString msg = i18n("One or more storage volumes are not mounted. In order to start this torrent, they need to be mounted."); +- KGuiItem retry(i18n("Retry"), "emblem-mounted"); +- if(KMessageBox::warningContinueCancelList(gui, msg, not_mounted, QString(), retry) == KMessageBox::Continue) +- { +- not_mounted.clear(); +- continue; +- } +- else +- { +- if(not_mounted.size() == 1) +- tc->handleError(i18n("Storage volume %1 is not mounted", not_mounted.first())); +- else +- tc->handleError(i18n("Storage volumes %1 are not mounted", not_mounted.join(", "))); +- return false; +- } +- } +- + QStringList missing; + if(!tc->hasMissingFiles(missing)) + return true;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209231945.q8NJjnsM063453>