diff options
author | Juergen Lock <nox@FreeBSD.org> | 2013-04-28 17:34:17 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2013-04-28 17:34:17 +0000 |
commit | 292784d76ac5cda1ac57e874c8effe8bcf625db1 (patch) | |
tree | 864c4aa9976b80bee9221b0b9c0bd50bc4b7bafd /comms/dabstick-radio/files/patch-jff-include.h | |
parent | Trim old-style header. (diff) |
Add new port comms/dabstick-radio:
While preparing for a release 4.2 of the sdr-j software package,
we created two new programs
a DAB receiver
a broad spectrum version of the FM receiver
It is quite obvious that one can use a DAB stick to receive DAB
programs. However, the DAB software presented here is a real SDR
in that it uses the 8 bit I/Q samples of the DAB stick.
WWW: http://www.sdr-j.tk/
Notes
Notes:
svn path=/head/; revision=316735
Diffstat (limited to 'comms/dabstick-radio/files/patch-jff-include.h')
-rw-r--r-- | comms/dabstick-radio/files/patch-jff-include.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/dabstick-radio/files/patch-jff-include.h b/comms/dabstick-radio/files/patch-jff-include.h new file mode 100644 index 000000000000..5a2884382853 --- /dev/null +++ b/comms/dabstick-radio/files/patch-jff-include.h @@ -0,0 +1,21 @@ +--- jff-include.h.orig ++++ jff-include.h +@@ -32,12 +32,18 @@ + #include <complex> + #include <stdint.h> + ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + #ifdef __MINGW32__ + #include "windows.h" + #else ++#ifndef __FreeBSD__ + #include "alloca.h" ++#endif + #include "dlfcn.h" + typedef void *HINSTANCE; + #endif |