diff --git a/srcpkgs/transmission/patches/patch-qt_favicon_cc b/srcpkgs/transmission/patches/patch-qt_favicon_cc deleted file mode 100644 index 1a73b0b52e6..00000000000 --- a/srcpkgs/transmission/patches/patch-qt_favicon_cc +++ /dev/null @@ -1,27 +0,0 @@ ---- qt/favicon.cc.orig Fri Aug 9 04:45:47 2013 -+++ qt/favicon.cc Thu Aug 22 16:39:50 2013 -@@ -14,7 +14,12 @@ - #include - #include - #include -+ -+#if QT_VERSION >= 0x050000 - #include -+#else -+#include -+#endif - - #include "favicon.h" - -@@ -40,7 +45,11 @@ Favicons :: ~Favicons( ) - QString - 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" ); - } - diff --git a/srcpkgs/transmission/patches/patch-qt_file-tree_cc b/srcpkgs/transmission/patches/patch-qt_file-tree_cc deleted file mode 100644 index 1adf2e9acbc..00000000000 --- a/srcpkgs/transmission/patches/patch-qt_file-tree_cc +++ /dev/null @@ -1,14 +0,0 @@ ---- qt/file-tree.cc.orig Fri Aug 9 04:45:54 2013 -+++ qt/file-tree.cc Thu Aug 22 16:40:53 2013 -@@ -885,7 +885,11 @@ FileTreeView :: FileTreeView (QWidget * parent, bool i - for (int i=0; i= 0x050000 - header()->setSectionResizeMode(i, QHeaderView::Interactive); -+#else -+ header()->setResizeMode(i, QHeaderView::Interactive); -+#endif - } - - connect (this, SIGNAL(clicked(const QModelIndex&)), diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template index 46c2db962ef..dcbe14bc724 100644 --- a/srcpkgs/transmission/template +++ b/srcpkgs/transmission/template @@ -1,6 +1,6 @@ # Template file for 'transmission' pkgname=transmission -version=2.82 +version=2.83 revision=1 build_style=gnu-configure configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp" @@ -11,7 +11,7 @@ maintainer="Juan RP " homepage="http://www.transmissionbt.com/" license="MIT, GPL-2" distfiles="http://download.transmissionbt.com/files/$pkgname-$version.tar.xz" -checksum=3996651087df67a85f1e1b4a92b1b518ddefdd84c654b8df6fbccb0b91f03522 +checksum=b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 if [ -z "$CROSS_BUILD" ]; then makedepends+=" qt-devel" @@ -20,7 +20,7 @@ post_build() { # Build the qt frontend. cd qt qmake qtr.pro - make ${makejobs} + make CXXFLAGS="${CXXFLAGS} -std=c++11" LDFLAGS="${LDFLAGS}" ${makejobs} } post_install() {