Skip to content

Commit

Permalink
x11/plasma5-plasma-workspace: Unbreak Region&Language KCM (again)
Browse files Browse the repository at this point in the history
Sponsored by:	Serenity Cybersecurity, LLC
  • Loading branch information
arrowd committed Nov 17, 2023
1 parent d48ffd9 commit 72cf52e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11/plasma5-plasma-workspace/Makefile
@@ -1,5 +1,6 @@
PORTNAME= plasma-workspace
DISTVERSION= ${KDE_PLASMA_VERSION}.1
PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma

MAINTAINER= kde@FreeBSD.org
Expand Down
@@ -0,0 +1,11 @@
--- kcms/region_language/kcmregionandlang.cpp.orig 2023-10-25 10:05:43 UTC
+++ kcms/region_language/kcmregionandlang.cpp
@@ -61,7 +61,7 @@ KCMRegionAndLang::KCMRegionAndLang(QObject *parent, co
qRegisterMetaType<KCM_RegionAndLang::SettingType>();
qmlRegisterUncreatableMetaObject(KCM_RegionAndLang::staticMetaObject, "kcmregionandlang", 1, 0, "SettingType", "Error: SettingType is an enum");

-#ifdef GLIBC_LOCALE_GENERATED
+#if GLIBC_LOCALE_GENERATED
// fedora pre generate locales, fetch available locales from localectl. /usr/share/i18n/locales is empty in fedora
QDir glibcLocaleDir(localeFileDirPath());
if (glibcLocaleDir.isEmpty()) {

0 comments on commit 72cf52e

Please sign in to comment.