svn commit: r522036 - head/audio/asterisk-espeak

Piotr Kubaj pkubaj at FreeBSD.org
Sat Jan 4 14:07:26 UTC 2020


Author: pkubaj
Date: Sat Jan  4 14:07:26 2020
New Revision: 522036
URL: https://svnweb.freebsd.org/changeset/ports/522036

Log:
  audio/asterisk-espeak: fix build on GCC architectures
  
  C11 compiler is required:
  /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 (build fix blanket)

Modified:
  head/audio/asterisk-espeak/Makefile

Modified: head/audio/asterisk-espeak/Makefile
==============================================================================
--- head/audio/asterisk-espeak/Makefile	Sat Jan  4 13:57:51 2020	(r522035)
+++ head/audio/asterisk-espeak/Makefile	Sat Jan  4 14:07:26 2020	(r522036)
@@ -27,7 +27,7 @@ asterisk16_CONFLICTS_INSTALL=	asterisk13-espeak
 asterisk16_BUILD_DEPENDS=	asterisk:net/asterisk16
 asterisk16_RUN_DEPENDS=		asterisk:net/asterisk16
 
-USES=		compiler gmake localbase
+USES=		compiler:c11 gmake localbase
 INSTALL_TARGET=	install samples
 
 USE_GITHUB=	yes


More information about the svn-ports-all mailing list