mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-p2p/ktorrent: Fixed compilation with cmake-3.11
commit permission kindly granted by asturm Closes: https://bugs.gentoo.org/650808 Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
13
net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
Normal file
13
net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=4423635+0+/usr/local/www/mailindex/archive/2018/svn-ports-all/20180415.svn-ports-all
|
||||
|
||||
--- ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
|
||||
+++ ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
|
||||
@@ -23,6 +23,8 @@
|
||||
#define KT_TORRENTCREATORDLG_HH
|
||||
|
||||
#include <QDialog>
|
||||
+#include <QTimer>
|
||||
+
|
||||
#include "ui_torrentcreatordlg.h"
|
||||
#include <torrent/torrentcreator.h>
|
||||
|
||||
@@ -78,7 +78,10 @@ RDEPEND="${COMMON_DEPEND}
|
||||
!net-p2p/ktorrent:4
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-qt-5.11.patch"
|
||||
"${FILESDIR}/${P}-cmake-3.11.patch" #650808
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
||||
Reference in New Issue
Block a user