diff options
author | adam <adam> | 2014-04-01 09:48:04 +0000 |
---|---|---|
committer | adam <adam> | 2014-04-01 09:48:04 +0000 |
commit | 5df4bd1b78b971a7bf58100c2aa07d41b3497450 (patch) | |
tree | 52094a80d20424fdaeed57fa1cbb2415c19836f2 /net/transmission/patches | |
parent | b34a71890957f9a842943f38ccc6a7c3936e03f6 (diff) | |
download | pkgsrc-5df4bd1b78b971a7bf58100c2aa07d41b3497450.tar.gz |
Changes 2.82:
==== All Platforms ====
* Fix webseed crash
* Fix crash when adding UDP trackers whose host's canonical name couldn't be found
* Fix crash when sending handshakes to some peers immediately after adding a magnet link
* Fix crash when parsing incoming encrypted handshakes when the user is removing the related torrent
* Add safeguard to prevent zombie processes after running a script when a torrent finishes downloading
* Fix "bad file descriptor" error
* Queued torrents no longer show up as paused after exiting & restarting
* Fix 2.81 compilation error on OpenBSD
* Don't misidentify Tixati as BitTornado
==== Mac Client ====
* Fix bug that had slow download speeds until editing preferences
==== GTK+ Client ====
* Fix crash that occurred in some cases after using Torrent > Set Location
* Fix crash where on_app_exit() got called twice in a row
* Fix 2.81 compilation error on older versions of glib
* Can now open folders that have a '#' in their names
* Silence gobject warning when updating a blocklist from URL
==== Qt Client ====
* Qt 5 support
==== Web Client ====
* Fix syntax error in index.html's meta name="viewport"
* Fix file uploading issue in Internet Explorer 11
Diffstat (limited to 'net/transmission/patches')
-rw-r--r-- | net/transmission/patches/patch-ae | 15 | ||||
-rw-r--r-- | net/transmission/patches/patch-libtransmission_platform-quota.c | 57 | ||||
-rw-r--r-- | net/transmission/patches/patch-qt_qtr.pro | 15 | ||||
-rw-r--r-- | net/transmission/patches/patch-qt_torrent-filter.cc | 15 |
4 files changed, 83 insertions, 19 deletions
diff --git a/net/transmission/patches/patch-ae b/net/transmission/patches/patch-ae deleted file mode 100644 index 35541714fe9..00000000000 --- a/net/transmission/patches/patch-ae +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2013/03/02 19:33:29 wiz Exp $ - ---- qt/qtr.pro.orig 2012-07-06 01:24:43.000000000 +0000 -+++ qt/qtr.pro -@@ -13,7 +13,9 @@ man.files = transmission-qt.1 - - CONFIG += qt qdbus thread debug link_pkgconfig - QT += network --PKGCONFIG = fontconfig libcurl openssl libevent -+PKGCONFIG = fontconfig libcurl libevent -+INCLUDEPATH += $${OPENSSL_CFLAGS} -+LIBS += $${OPENSSL_LIBS} - - TRANSMISSION_TOP = .. - diff --git a/net/transmission/patches/patch-libtransmission_platform-quota.c b/net/transmission/patches/patch-libtransmission_platform-quota.c new file mode 100644 index 00000000000..a7a351c29cd --- /dev/null +++ b/net/transmission/patches/patch-libtransmission_platform-quota.c @@ -0,0 +1,57 @@ +$NetBSD$ + +Add NetBSD support. + +--- libtransmission/platform-quota.c.orig 2014-03-31 18:47:50.000000000 +0000 ++++ libtransmission/platform-quota.c +@@ -20,6 +20,8 @@ + #include <sys/types.h> /* types needed by quota.h */ + #if defined(__FreeBSD__) || defined(__OpenBSD__) + #include <ufs/ufs/quota.h> /* quotactl() */ ++ #elif defined(__NetBSD__) ++ #include <ufs/ufs/quota1.h> + #elif defined (__sun) + #include <sys/fs/ufs_quota.h> /* quotactl */ + #else +@@ -104,7 +106,11 @@ getdev (const char * path) + + int i; + int n; ++#if defined(__NetBSD__) ++ struct statvfs * mnt; ++#else + struct statfs * mnt; ++#endif + + n = getmntinfo(&mnt, MNT_WAIT); + if (!n) +@@ -154,7 +160,11 @@ getfstype (const char * device) + + int i; + int n; ++#if defined(__NetBSD__) ++ struct statvfs *mnt; ++#else + struct statfs *mnt; ++#endif + + n = getmntinfo(&mnt, MNT_WAIT); + if (!n) +@@ -203,7 +213,7 @@ getquota (const char * device) + int64_t freespace; + int64_t spaceused; + +-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(SYS_DARWIN) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(SYS_DARWIN) + if (quotactl(device, QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t) &dq) == 0) + { + #elif defined(__sun) +@@ -235,7 +245,7 @@ getquota (const char * device) + /* No quota enabled for this user */ + return -1; + } +-#if defined(__FreeBSD__) || defined(__OpenBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) + spaceused = (int64_t) dq.dqb_curblocks >> 1; + #elif defined(SYS_DARWIN) + spaceused = (int64_t) dq.dqb_curbytes; diff --git a/net/transmission/patches/patch-qt_qtr.pro b/net/transmission/patches/patch-qt_qtr.pro index 23486c9e103..766f5624a31 100644 --- a/net/transmission/patches/patch-qt_qtr.pro +++ b/net/transmission/patches/patch-qt_qtr.pro @@ -1,8 +1,8 @@ -$NetBSD: patch-qt_qtr.pro,v 1.1 2013/03/02 19:33:29 wiz Exp $ +$NetBSD: patch-qt_qtr.pro,v 1.2 2014/04/01 09:48:04 adam Exp $ ---- qt/qtr.pro.orig 2012-07-06 01:24:43.000000000 +0000 +--- qt/qtr.pro.orig 2014-03-21 11:16:35.000000000 +0000 +++ qt/qtr.pro -@@ -8,7 +8,7 @@ target.path = /bin +@@ -8,12 +8,14 @@ target.path = /bin INSTALLS += target unix: INSTALLS += man @@ -10,4 +10,11 @@ $NetBSD: patch-qt_qtr.pro,v 1.1 2013/03/02 19:33:29 wiz Exp $ +man.path = /man/man1/ man.files = transmission-qt.1 - CONFIG += qt qdbus thread debug link_pkgconfig + CONFIG += qt thread debug link_pkgconfig + QT += network dbus widgets + PKGCONFIG = fontconfig libcurl openssl libevent ++INCLUDEPATH += $${OPENSSL_CFLAGS} ++LIBS += $${OPENSSL_LIBS} + + TRANSMISSION_TOP = .. + diff --git a/net/transmission/patches/patch-qt_torrent-filter.cc b/net/transmission/patches/patch-qt_torrent-filter.cc new file mode 100644 index 00000000000..da3bc28cec5 --- /dev/null +++ b/net/transmission/patches/patch-qt_torrent-filter.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-qt_torrent-filter.cc,v 1.1 2014/04/01 09:48:04 adam Exp $ + +Fix building error. + +--- qt/torrent-filter.cc.orig 2014-04-01 07:01:04.000000000 +0000 ++++ qt/torrent-filter.cc +@@ -211,7 +211,7 @@ TorrentFilter :: hiddenRowCount( ) const + void + TorrentFilter :: countTorrentsPerMode (int * setmeCounts) const + { +- std::fill_n (setmeCounts, FilterMode::NUM_MODES, 0); ++ std::fill_n (setmeCounts, (int)FilterMode::NUM_MODES, 0); + + for (int row(0); ; ++row) + { |