diff options
Diffstat (limited to 'databases/tora/files/patch-totool.cpp')
-rw-r--r-- | databases/tora/files/patch-totool.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/tora/files/patch-totool.cpp b/databases/tora/files/patch-totool.cpp new file mode 100644 index 000000000000..83b64b7a6103 --- /dev/null +++ b/databases/tora/files/patch-totool.cpp @@ -0,0 +1,18 @@ +--- totool.cpp.orig Thu Feb 9 02:21:37 2006 ++++ totool.cpp Fri Mar 17 00:06:08 2006 +@@ -442,6 +442,15 @@ + conf = QString::fromLatin1(getenv("HOME")); + } + conf.append(QString::fromLatin1(CONFIG_FILE)); ++ ++# ifdef __FreeBSD__ ++// Create the $HOME/.torarc if not exists ++ QString configfile = toExpandFile(conf); ++ QFile cffile(configfile); ++ cffile.open(IO_ReadWrite); ++ cffile.close(); ++# endif ++ + try + { + loadMap(conf, *Configuration); |