git: 4e2a1e17bbee - main - x11/plasma5-plasma-workspace: Unbreak "Regional Settings" KCM.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Mar 2023 19:23:33 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e2a1e17bbeeb1bb3adfee3a5fd7f1740b3d6e08
commit 4e2a1e17bbeeb1bb3adfee3a5fd7f1740b3d6e08
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-03-07 06:10:47 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-03-07 19:22:53 +0000
x11/plasma5-plasma-workspace: Unbreak "Regional Settings" KCM.
Sponsored by: Serenity Cybersecurity, LLC
---
x11/plasma5-plasma-workspace/Makefile | 1 +
.../files/patch-kcms_region__language_kcmregionandlang.cpp | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/x11/plasma5-plasma-workspace/Makefile b/x11/plasma5-plasma-workspace/Makefile
index 684e7fec59eb..f0d6fb6851ec 100644
--- a/x11/plasma5-plasma-workspace/Makefile
+++ b/x11/plasma5-plasma-workspace/Makefile
@@ -1,5 +1,6 @@
PORTNAME= plasma-workspace
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
MAINTAINER= kde@FreeBSD.org
diff --git a/x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp b/x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp
new file mode 100644
index 000000000000..614aa695d8ed
--- /dev/null
+++ b/x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp
@@ -0,0 +1,13 @@
+--- kcms/region_language/kcmregionandlang.cpp.orig 2023-02-28 12:23:29 UTC
++++ kcms/region_language/kcmregionandlang.cpp
+@@ -77,9 +77,8 @@ KCMRegionAndLang::KCMRegionAndLang(QObject *parent, co
+ });
+ m_localectl->start();
+ }
+- } else {
+- m_enabled = true;
+ }
++ m_enabled = true;
+ }
+
+ QString KCMRegionAndLang::failedFindLocalesMessage()