diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
commit | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch) | |
tree | 852c90a4bf354c30ea66504f70bfab5401fba18d /net-p2p/qbittorrent/files | |
parent | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff) |
gentoo resync : 28.04.2018
Diffstat (limited to 'net-p2p/qbittorrent/files')
-rw-r--r-- | net-p2p/qbittorrent/files/qbittorrent-3.3.16-cmake.patch | 44 | ||||
-rw-r--r-- | net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch | 25 |
2 files changed, 0 insertions, 69 deletions
diff --git a/net-p2p/qbittorrent/files/qbittorrent-3.3.16-cmake.patch b/net-p2p/qbittorrent/files/qbittorrent-3.3.16-cmake.patch deleted file mode 100644 index 9f5b82b218ea..000000000000 --- a/net-p2p/qbittorrent/files/qbittorrent-3.3.16-cmake.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0ad52903890fe680307b46f4051bdd91d8aaffd5 Mon Sep 17 00:00:00 2001 -From: Eugene Shalygin <eugene.shalygin@gmail.com> -Date: Sat, 7 Oct 2017 21:48:52 +0200 -Subject: [PATCH] cmake: do not use Qt5Widgets when locating - QtSingleApplication. Closes #7551. - -This fixes cmake builds with GUI disabled and system -QtSingleApplication. We rely on Qt5::Core instead of Qt5::Widgets. ---- - cmake/Modules/FindQtSingleApplication.cmake | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/cmake/Modules/FindQtSingleApplication.cmake b/cmake/Modules/FindQtSingleApplication.cmake -index eb56607e94..9b526c9839 100644 ---- a/cmake/Modules/FindQtSingleApplication.cmake -+++ b/cmake/Modules/FindQtSingleApplication.cmake -@@ -30,9 +30,9 @@ IF(QT4_FOUND) - NAMES ${QTSINGLEAPPLICATION_NAMES} - PATHS ${QT_LIBRARY_DIR} - ) --ELSEIF(Qt5Widgets_FOUND) -+ELSEIF(Qt5Core_FOUND) - message(STATUS "Looking for Qt5 single application library") -- FOREACH(TOP_INCLUDE_PATH in ${Qt5Widgets_INCLUDE_DIRS} ${FRAMEWORK_INCLUDE_DIR}) -+ FOREACH(TOP_INCLUDE_PATH in ${Qt5Core_INCLUDE_DIRS} ${FRAMEWORK_INCLUDE_DIR}) - FIND_PATH(QTSINGLEAPPLICATION_INCLUDE_DIR QtSingleApplication ${TOP_INCLUDE_PATH}/QtSolutions) - - IF(QTSINGLEAPPLICATION_INCLUDE_DIR) -@@ -43,12 +43,12 @@ ELSEIF(Qt5Widgets_FOUND) - SET(QTSINGLEAPPLICATION_NAMES ${QTSINGLEAPPLICATION_NAMES} - Qt5Solutions_SingleApplication-2.6 libQt5Solutions_SingleApplication-2.6 - QtSolutions_SingleApplication-2.6 libQtSolutions_SingleApplication-2.6) -- GET_TARGET_PROPERTY(QT5_WIDGETSLIBRARY Qt5::Widgets LOCATION) -- GET_FILENAME_COMPONENT(QT5_WIDGETSLIBRARYPATH ${QT5_WIDGETSLIBRARY} PATH) -+ GET_TARGET_PROPERTY(_QT5_CORELIBRARY Qt5::Core LOCATION) -+ GET_FILENAME_COMPONENT(_QT5_CORELIBRARYPATH ${_QT5_CORELIBRARY} PATH) - - FIND_LIBRARY(QTSINGLEAPPLICATION_LIBRARY - NAMES ${QTSINGLEAPPLICATION_NAMES} -- PATHS ${QT5_WIDGETSLIBRARYPATH} -+ PATHS ${_QT5_CORELIBRARYPATH} - ) - ENDIF() - diff --git a/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch b/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch deleted file mode 100644 index 2a7f5dbb47c5..000000000000 --- a/net-p2p/qbittorrent/files/qbittorrent-4.0.1-nowebui.patch +++ /dev/null @@ -1,25 +0,0 @@ -From af898e9117b475230e793fa4fd75274145ecf25d Mon Sep 17 00:00:00 2001 -From: Heiko Becker <heirecka@exherbo.org> -Date: Wed, 22 Nov 2017 21:29:20 +0100 -Subject: [PATCH] Fix build with --disable-webui - -"app/application.cpp:108:7: error: class 'Application' does not have -any field named 'm_webui'" ---- - src/app/application.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/app/application.cpp b/src/app/application.cpp -index 3b0d4d78de..b3221efa88 100644 ---- a/src/app/application.cpp -+++ b/src/app/application.cpp -@@ -105,7 +105,9 @@ Application::Application(const QString &id, int &argc, char **argv) - , m_running(false) - , m_shutdownAct(ShutdownDialogAction::Exit) - , m_commandLineArgs(parseCommandLine(this->arguments())) -+#ifndef DISABLE_WEBUI - , m_webui(nullptr) -+#endif - { - qRegisterMetaType<Log::Msg>("Log::Msg"); - |