mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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)
This commit is contained in:
parent
396563ea6f
commit
23607f7116
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522062
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user