aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-dao__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrdao/files/patch-dao__main.cc')
-rw-r--r--sysutils/cdrdao/files/patch-dao__main.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-dao__main.cc b/sysutils/cdrdao/files/patch-dao__main.cc
new file mode 100644
index 000000000000..01782c823acb
--- /dev/null
+++ b/sysutils/cdrdao/files/patch-dao__main.cc
@@ -0,0 +1,15 @@
+--- dao/main.cc.orig Sat Dec 28 03:01:20 2002
++++ dao/main.cc Sat Dec 28 03:04:38 2002
+@@ -2314,11 +2314,7 @@
+
+ Settings* settings = new Settings;
+
+- settingsPath = "/etc/cdrdao.conf";
+- if (settings->read(settingsPath) == 0)
+- log_message(3, "Read settings from \"%s\".", settingsPath);
+-
+- settingsPath = "/etc/defaults/cdrdao";
++ settingsPath = "%%PREFIX%%/etc/cdrdao.conf";
+ if (settings->read(settingsPath) == 0)
+ log_message(3, "Read settings from \"%s\".", settingsPath);
+