svn commit: r522062 - head/net/asterisk-g72x
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Jan 4 22:52:48 UTC 2020
Author: pkubaj
Date: Sat Jan 4 22:52:48 2020
New Revision: 522062
URL: https://svnweb.freebsd.org/changeset/ports/522062
Log:
net/asterisk-g72x: fix build of GCC architectures
C11 compiler is necessary:
In file included from codec_g72x.c:26:
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int':
/usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once
/usr/local/include/asterisk/lock.h:752: error: for each function it appears in.)
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test':
/usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
MFH: 2020Q1 (fix build blanket)
Modified:
head/net/asterisk-g72x/Makefile
Modified: head/net/asterisk-g72x/Makefile
==============================================================================
--- head/net/asterisk-g72x/Makefile Sat Jan 4 20:47:57 2020 (r522061)
+++ head/net/asterisk-g72x/Makefile Sat Jan 4 22:52:48 2020 (r522062)
@@ -33,7 +33,7 @@ CONFIGURE_ARGS+= --with-asterisk160
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-bcg729
-USES= autoreconf compiler libtool localbase tar:bzip2
+USES= autoreconf compiler:c11 libtool localbase tar:bzip2
PLIST_FILES= lib/asterisk/modules/codec_g729.so
More information about the svn-ports-all
mailing list