[Bug 191592] New: [PATCH] Update net-p2p/transmission* to 2.84
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 3 22:22:24 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191592
Bug ID: 191592
Summary: [PATCH] Update net-p2p/transmission* to 2.84
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: aberg010 at my.hennepintech.edu
CC: crees at FreeBSD.org
Created attachment 144383
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144383&action=edit
Basic version bump to 2.84
I've made a basic patch to update transmission from 2.82 to 2.84, but one of
the patches for transmission-daemon doesn't apply cleanly, and I'm not sure
what the best way to fix it is.
There's a patch to add these to qt/favicon.cc:
#if QT_VERSION >= 0x050000
#include <QStandardPaths>
#else
#include <QDesktopServices>
#endif
...
Favicons :: getCacheDir( )
{
#if QT_VERSION >= 0x050000
const QString base = QStandardPaths::writableLocation
(QStandardPaths::CacheLocation);
#else
const QString base = QDesktopServices::storageLocation(
QDesktopServices::CacheLocation );
#endif
return QDir( base ).absoluteFilePath( "favicons" );
}
However, upstream has these now:
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
#include <QDesktopServices>
#else
#include <QStandardPaths>
#endif
...
Favicons :: getCacheDir ()
{
const QString base =
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
QDesktopServices::storageLocation (QDesktopServices::CacheLocation);
#else
QStandardPaths::writableLocation (QStandardPaths::CacheLocation);
#endif
return QDir(base).absoluteFilePath ("favicons");
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list