From 5c1aa967457a8c7470bd2e490aaea7a157b1aa65 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 4 Jan 2020 14:08:18 +0000 Subject: [PATCH] MFH: r522036 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) Approved by: portmgr (build fix blanket) --- audio/asterisk-espeak/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/asterisk-espeak/Makefile b/audio/asterisk-espeak/Makefile index 9edad04501f8..95bb8a6d98cb 100644 --- a/audio/asterisk-espeak/Makefile +++ b/audio/asterisk-espeak/Makefile @@ -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