mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
kde-plasma/kdeplasma-addons: Fix build with Qt-5.7
Gentoo-bug: 635412 Package-Manager: Portage-2.3.12, Repoman-2.3.3
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 961078337c823e22691d74925a698d1f28f20ac0 Mon Sep 17 00:00:00 2001
|
||||
From: Kai Uwe Broulik <kde@privat.broulik.de>
|
||||
Date: Wed, 25 Oct 2017 12:36:08 +0200
|
||||
Subject: Use wakeOne() instead of notify_one()
|
||||
|
||||
The latter was only introduced in Qt 5.8
|
||||
---
|
||||
runners/dictionary/dictionarymatchengine.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/runners/dictionary/dictionarymatchengine.cpp b/runners/dictionary/dictionarymatchengine.cpp
|
||||
index 85346d5..27d2228 100644
|
||||
--- a/runners/dictionary/dictionarymatchengine.cpp
|
||||
+++ b/runners/dictionary/dictionarymatchengine.cpp
|
||||
@@ -73,7 +73,7 @@ void DictionaryMatchEngine::dataUpdated(const QString &source, const Plasma::Dat
|
||||
/* Because of QString's CoW semantics, we don't have to worry about
|
||||
* the overhead of assigning this to every item. */
|
||||
data->definition = definition;
|
||||
- data->waitCondition.notify_one();
|
||||
+ data->waitCondition.wakeOne();
|
||||
}
|
||||
m_wordLock.unlock();
|
||||
}
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
||||
@@ -47,6 +47,8 @@ RDEPEND="${DEPEND}
|
||||
!kde-plasma/kdeplasma-addons:4
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-qt-5.7.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package share KDEExperimentalPurpose)
|
||||
|
||||
Reference in New Issue
Block a user