git: 880b112c47ee - main - x11/plasma5-plasma-workspace: add upstream bug fix

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Wed, 18 May 2022 05:28:15 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=880b112c47eec48fcd991c25b7b9234ae0ab270f

commit 880b112c47eec48fcd991c25b7b9234ae0ab270f
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-05-18 05:04:44 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-05-18 05:27:53 +0000

    x11/plasma5-plasma-workspace: add upstream bug fix
    
    applets/appmenu: fix top-level menu text coloration
    
            Commit [1] made the color dynamic, but neglected to respect the
            Plasma color scheme, if any. This causes problems with Plasma
            themes that have their own colors and don't respect the
            systemwide color scheme, such as Breeze Twilight.
    
            Fix it by using the appropriate colors from the PlasmaCore color
            scheme object, not the systemwide object provided by Qt.
    
    [1] https://invent.kde.org/plasma/plasma-workspace/-/commit/28537cf3ff3cd9210f7568f40334ac3a2c9bed18
    
    Obtained from: https://invent.kde.org/plasma/plasma-workspace/-/commit/4d3f99558cff95259590e70dfbf854a479f772ce
    Upstream PR:    https://bugs.kde.org/show_bug.cgi?id=453348
---
 x11/plasma5-plasma-workspace/Makefile | 4 ++++
 x11/plasma5-plasma-workspace/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/x11/plasma5-plasma-workspace/Makefile b/x11/plasma5-plasma-workspace/Makefile
index 7ee0aae10752..daa70e5a7f42 100644
--- a/x11/plasma5-plasma-workspace/Makefile
+++ b/x11/plasma5-plasma-workspace/Makefile
@@ -1,7 +1,11 @@
 PORTNAME=	plasma-workspace
 DISTVERSION=	${KDE_PLASMA_VERSION}
+PORTREVISION=	1
 CATEGORIES=	x11 kde kde-plasma
 
+PATCH_SITES=	https://invent.kde.org/plasma/plasma-workspace/-/commit/
+PATCHFILES=	4d3f99558cff95259590e70dfbf854a479f772ce.diff:-p1
+
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Plasma5 Plasma workspace
 
diff --git a/x11/plasma5-plasma-workspace/distinfo b/x11/plasma5-plasma-workspace/distinfo
index 0e71bda5bff3..c9b7956154b8 100644
--- a/x11/plasma5-plasma-workspace/distinfo
+++ b/x11/plasma5-plasma-workspace/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1651588862
+TIMESTAMP = 1652849921
 SHA256 (KDE/plasma/5.24.5/plasma-workspace-5.24.5.tar.xz) = b9912691e0becfa0839dbf7750ea24729b72bad0216bef27584f9faf882064f6
 SIZE (KDE/plasma/5.24.5/plasma-workspace-5.24.5.tar.xz) = 18490588
+SHA256 (KDE/plasma/5.24.5/4d3f99558cff95259590e70dfbf854a479f772ce.diff) = 02cfe4768b6bc88a1c41b46d4ffbf79bed1b502956aa73360ba16700d0855608
+SIZE (KDE/plasma/5.24.5/4d3f99558cff95259590e70dfbf854a479f772ce.diff) = 949