summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2021-05-30 00:00:00 +0000
committerMike Gilbert <floppym@gentoo.org>2021-05-31 19:01:41 -0400
commit25fd0020b33880ec63b66383c68204a17f95da26 (patch)
treedc93ab0785e55c0a8b870b6e18e6c3081ca21f21 /net-irc
parentdev-python/protobuf-python: Update subslot. (diff)
downloadgentoo-25fd0020b33880ec63b66383c68204a17f95da26.tar.gz
gentoo-25fd0020b33880ec63b66383c68204a17f95da26.tar.bz2
gentoo-25fd0020b33880ec63b66383c68204a17f95da26.zip
net-irc/kvirc: Fix compatibility with >=kde-frameworks/kwindowsystem-5.82.0.
Closes: https://bugs.gentoo.org/790194 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild (renamed from net-irc/kvirc/kvirc-5.2_pre20200605155236.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-irc/kvirc/kvirc-5.2_pre20200605155236.ebuild b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild
index 7c2667377c17..d5d66657bf4e 100644
--- a/net-irc/kvirc/kvirc-5.2_pre20200605155236.ebuild
+++ b/net-irc/kvirc/kvirc-5.2_pre20200605155236-r1.ebuild
@@ -97,6 +97,10 @@ src_prepare() {
fi
einfo "Setting of revision number to ${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE}"
sed -e "/#define KVI_DEFAULT_FRAME_CAPTION/s/KVI_VERSION/& \" (${KVIRC_GIT_REVISION} ${KVIRC_GIT_SOURCES_DATE})\"/" -i src/kvirc/ui/KviMainWindow.cpp || die "Setting of revision number failed"
+
+ # https://github.com/kvirc/KVIrc/issues/2504
+ # https://github.com/kvirc/KVIrc/commit/fa2b4a9f98e2820432e3a7561b3ca914982a4454
+ sed -e "s/KWindowInfo wi = KWindowSystem::windowInfo(activeId, NET::WMState);/KWindowInfo wi = KWindowInfo(activeId, NET::WMState);/" -i src/modules/notifier/NotifierWindow.cpp || die
}
src_configure() {