ports/comms/hf/files/patch-dcf77_calccorr.c
Ion-Mihai Tetcu d2cde8c5ee hf is a gtk+-based linux ham radio fsk digimode program, which can do also
the realtime ARQ modes pactor 1, amtor, gtor without a ptc, only with a
soundcard and a pc and linux(FreeBSD), all of which need not be the newest.
The core of hf, the heart of the program (hfkernel) is a real master-piece
of code, it has originally been made by Tom Sailer, many thanks Tom!
hf can also do MT63 and has a CW elbug function.

WWW: http://www.hf.webmasternet.org

- Diane Bruce, VA3DB
db@db.net

PR:		ports/101452
Submitted by:	db
2006-09-09 10:54:46 +00:00

15 lines
402 B
C

--- dcf77/calccorr.c.orig Sun Jul 30 15:17:56 2006
+++ dcf77/calccorr.c Sun Jul 30 15:18:39 2006
@@ -197,7 +197,12 @@
{
static char head[256], foot[256];
char factors[512];
+#ifdef __linux__
const char *configfilename = "/etc/hf.conf";
+#endif
+#ifdef __FreeBSD__
+ const char *configfilename = "/usr/local/etc/hf.conf";
+#endif
FILE *configfile = NULL;
static int prepared = 0;