File icewm-1.2.35-override-config.patch of Package icewm

make icewm --config=preferences.xy work, i.e. load /etc/icewm/preferences.xy
---
 src/wmapp.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/wmapp.cc
===================================================================
--- src/wmapp.cc.orig
+++ src/wmapp.cc
@@ -1142,7 +1142,7 @@ YWMApp::YWMApp(int *argc, char ***argv,
     managerWindow = None;
 
 #ifndef NO_CONFIGURE
-    loadConfiguration("preferences");
+    loadConfiguration(configFile ? configFile : "preferences");
     if (themeName != 0) {
         MSG(("themeName=%s", themeName));