freebsd-ports/comms/cqrlog/files/patch-src_dUtils.pas
Stephen Hurd bea0f90ec2 Update to latest release, use preferred OpenSSL libs.
CQRLOG does *not* work with the version of OpenSSL in 10.4.  This only seems
to impact the LoTW integration though, so I don't think it needs to be
marked as broken with that version.

Also, update all the patches to use makepatch.
2018-07-11 04:18:37 +00:00

20 lines
666 B
ObjectPascal

--- src/dUtils.pas.orig 2018-06-17 12:42:42 UTC
+++ src/dUtils.pas
@@ -2376,7 +2376,7 @@ var
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
@@ -2667,7 +2667,7 @@ begin
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;