diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-14 16:09:39 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-14 16:09:39 +0000 |
commit | 004697d45d2a5ed5a4c4e83cbd12ac53fbf114d9 (patch) | |
tree | 2413bc4495482d5286bfb8cf26f9cb86dd88ef0a /comms/linrad/files/patch-wcw.c | |
parent | Update to 2.0.99 and make fetcheable again. (diff) |
Add linrad, Amateur Radio DSP utility (SDR)
PR: ports/68873
Submitted by: Diane Bruce <db@heceta.db.net>
Diffstat (limited to 'comms/linrad/files/patch-wcw.c')
-rw-r--r-- | comms/linrad/files/patch-wcw.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/comms/linrad/files/patch-wcw.c b/comms/linrad/files/patch-wcw.c new file mode 100644 index 000000000000..40e57c762866 --- /dev/null +++ b/comms/linrad/files/patch-wcw.c @@ -0,0 +1,28 @@ +--- wcw.c.orig Thu Jul 8 18:22:12 2004 ++++ wcw.c Thu Jul 8 18:22:55 2004 +@@ -116,10 +116,12 @@ + int syncflag, baseb_graph_time; + audio_buf_info ad_info, ad_info2; + touch_stack(); ++#if 0 + if(ui.memlock == 0) + { + if(mlockall(MCL_CURRENT) != 0)end_program(1165); + } ++#endif + baseb_graph_time=0; + get_buffers(0); + if(lir_status != LIR_OK)return; +@@ -181,10 +183,12 @@ + diskread_timer=recent_time; + latest_idle_time=recent_time; + lirsta=RX_LOW_PRIO; ++#if 0 + if(ui.memlock == 0) + { + if(mlockall(MCL_CURRENT) != 0)lir_status=LIR_MEMERR; + } ++#endif + if(lir_status != LIR_OK)goto wcw_exit; + // ******************************************************* + // MAIN RECEIVE LOOP |