aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-g72x
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-04 22:52:48 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-04 22:52:48 +0000
commit23607f71162a31cd50d65b0af7c38a6977231a63 (patch)
treecb7536383c3af91eacf1f0e2b065a6074cf579bd /net/asterisk-g72x
parent396563ea6f695322deab2c5ca65085fc510de8d1 (diff)
downloadports-23607f71162a31cd50d65b0af7c38a6977231a63.tar.gz
ports-23607f71162a31cd50d65b0af7c38a6977231a63.zip
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)
Notes
Notes: svn path=/head/; revision=522062
Diffstat (limited to 'net/asterisk-g72x')
-rw-r--r--net/asterisk-g72x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile
index a35c012a713e..efe675f07ddb 100644
--- a/net/asterisk-g72x/Makefile
+++ b/net/asterisk-g72x/Makefile
@@ -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