1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Thanks to Dima Panov <fluffy@FreeBSD.org> for pointing out it was

older compilers not clang 11 failing this. *sigh*

PR:		ports/248894
Submitted by:	vvd@unislabs.com
This commit is contained in:
Diane Bruce 2020-08-25 23:27:40 +00:00
parent fa7428ce49
commit 9dcc41034f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546241
2 changed files with 15 additions and 6 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= codec2
DISTVERSION= 0.8.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio hamradio
MASTER_SITES= https://hobbes1069.fedorapeople.org/freetel/codec2/

View File

@ -1,11 +1,20 @@
--- src/freedv_api.c.orig 2020-08-24 17:11:35 UTC
--- src/freedv_api.c.orig 2018-05-29 05:59:17 UTC
+++ src/freedv_api.c
@@ -76,6 +76,8 @@
@@ -36,7 +36,7 @@
#ifdef __APPLE__
#include <malloc/malloc.h>
#else
-#include <malloc.h>
+#include <stdlib.h>
#endif /* __APPLE__ */
#include "fsk.h"
@@ -75,6 +75,8 @@
#define NORM_PWR_OFDM 1.00
/* OFDM payload data test frame for 700D */
+extern const struct OFDM_CONFIG * OFDM_CONFIG_700D;
+
+extern const struct OFDM_CONFIG * OFDM_CONFIG_700D;
extern int payload_data_bits[];
/*---------------------------------------------------------------------------*\