aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2023-03-07 06:10:47 +0000
committerGleb Popov <arrowd@FreeBSD.org>2023-03-07 19:22:53 +0000
commit4e2a1e17bbeeb1bb3adfee3a5fd7f1740b3d6e08 (patch)
treede8c9d223ad93fb5ea90cc680500019c5c75a620
parente0bac3926f9ce85a7153f0ab1b103786dadb10d5 (diff)
downloadports-4e2a1e17bbeeb1bb3adfee3a5fd7f1740b3d6e08.tar.gz
ports-4e2a1e17bbeeb1bb3adfee3a5fd7f1740b3d6e08.zip
x11/plasma5-plasma-workspace: Unbreak "Regional Settings" KCM.
Sponsored by: Serenity Cybersecurity, LLC
-rw-r--r--x11/plasma5-plasma-workspace/Makefile1
-rw-r--r--x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp13
2 files changed, 14 insertions, 0 deletions
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()