svn commit: r546107 - in head/audio/codec2: . files

Christoph Moench-Tegeder cmt at burggraben.net
Tue Aug 25 16:02:24 UTC 2020


## Diane Bruce (db at FreeBSD.org):

> New Revision: 546107
> URL: https://svnweb.freebsd.org/changeset/ports/546107
> 
> Log:
>   - Fix under clang11

Actually, this broke codec2 on at least 12.1-RELEASE.

This:
> Modified: head/audio/codec2/files/patch-src__freedv_api.c
> ==============================================================================
> --- head/audio/codec2/files/patch-src__freedv_api.c	Mon Aug 24 19:03:08 2020	(r546106)
> +++ head/audio/codec2/files/patch-src__freedv_api.c	Mon Aug 24 19:10:01 2020	(r546107)
> @@ -1,11 +1,11 @@
> ---- src/freedv_api.c.orig	2018-05-24 09:41:22 UTC
> +--- src/freedv_api.c.orig	2020-08-24 17:11:35 UTC
>  +++ src/freedv_api.c
> -@@ -36,7 +36,7 @@
> - #ifdef __APPLE__
> - #include <malloc/malloc.h>
> - #else
> --#include <malloc.h>
> -+#include <sys/malloc.h>
> - #endif /* __APPLE__ */

is really required, as
: /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
: #error "<malloc.h> has been replaced by <stdlib.h>"

Regards,
Christoph

-- 
Spare Space


More information about the svn-ports-all mailing list