kde-workspace: update to 4.11.4.
This commit is contained in:
parent
f9568d620c
commit
e5c5fa9eda
5 changed files with 49 additions and 70 deletions
20
srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp
Normal file
20
srcpkgs/kde-workspace/patches/patch-kdm_kcm_main.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
$NetBSD: patch-kdm_kcm_main.cpp,v 1.1 2012/03/19 19:44:03 markd Exp $
|
||||
|
||||
Allow $PKG_SYSCONFDIR/kdm/kdmrc to override the one under $PREFIX
|
||||
|
||||
--- kdm/kcm/main.cpp.orig 2010-05-27 17:23:09.000000000 +0000
|
||||
+++ kdm/kcm/main.cpp
|
||||
@@ -281,8 +281,12 @@ KConfig *KDModule::createTempConfig()
|
||||
pTempConfigFile->open();
|
||||
QString tempConfigName = pTempConfigFile->fileName();
|
||||
|
||||
+ QFile confFile (QString::fromLatin1( "@PKG_SYSCONFDIR@" "/kdm/kdmrc" ));
|
||||
+ if ( !confFile.exists() )
|
||||
+ confFile.setFileName (QString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
|
||||
+
|
||||
KConfig *pSystemKDMConfig = new KConfig(
|
||||
- QString::fromLatin1(KDE_CONFDIR "/kdm/kdmrc"), KConfig::SimpleConfig);
|
||||
+ confFile.fileName(), KConfig::SimpleConfig);
|
||||
|
||||
KConfig *pTempConfig = pSystemKDMConfig->copyTo(tempConfigName);
|
||||
pTempConfig->sync();
|
Loading…
Add table
Add a link
Reference in a new issue