File add_WISECONFIGDIR_default.patch of Package wise2

--- wise2.4.1/src/base/wisefile.c	2022-11-17 05:14:19.112231182 +0100
+++ wise2.4.1/src/base/wisefile.c	2022-11-17 05:16:55.797425471 +0100
@@ -82,7 +82,8 @@
       sprintf(buffer,"%s/",runner);
       systemconfigdir=stringalloc(buffer);
     }
-      
+  } else {
+    systemconfigdir=stringalloc("/usr/share/wise2/wisecfg/");
   }
   
   if( (runner=getenv("WISEPERSONALDIR")) != NULL) {
openSUSE Build Service is sponsored by