aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cqrlog/files/patch-src_dUtils.pas
diff options
context:
space:
mode:
Diffstat (limited to 'comms/cqrlog/files/patch-src_dUtils.pas')
-rw-r--r--comms/cqrlog/files/patch-src_dUtils.pas20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/cqrlog/files/patch-src_dUtils.pas b/comms/cqrlog/files/patch-src_dUtils.pas
new file mode 100644
index 000000000000..6628f9c10936
--- /dev/null
+++ b/comms/cqrlog/files/patch-src_dUtils.pas
@@ -0,0 +1,20 @@
+--- src/dUtils.pas.orig 2014-06-30 23:37:31.000000000 -0700
++++ src/dUtils.pas 2014-06-30 23:38:03.000000000 -0700
+@@ -2229,7 +2229,7 @@
+ proj : String = '';
+ begin
+ Result := '';
+- Result := cqrini.ReadString('xplanet','path','/usr/bin/xplanet');
++ Result := cqrini.ReadString('xplanet','path','%%LOCALBASE%%/bin/xplanet');
+ myloc := cqrini.ReadString('Station','LOC','');
+ if not FileExists(Result) then
+ begin
+@@ -2502,7 +2502,7 @@
+ if Device = '' then
+ exit;
+
+- cmd := cqrini.ReadString('TRX','Path','/usr/bin/rigctld');
++ cmd := cqrini.ReadString('TRX','Path','%%LOCALBASE%%/bin/rigctld');
+ if not FileExists(cmd) then
+ exit;
+ cmd := cmd+' --model='+rigid;