svn commit: r521938 - branches/2020Q1/audio/asterisk-flite
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jan 3 13:18:19 UTC 2020
Author: pkubaj
Date: Fri Jan 3 13:18:18 2020
New Revision: 521938
URL: https://svnweb.freebsd.org/changeset/ports/521938
Log:
MFH: r521937
audio/asterisk-flite: fix build on GCC architectures
C11 compiler is necessary:
In file included from /usr/local/include/asterisk/vector.h:22,
from /usr/local/include/asterisk/stringfields.h:178,
from /usr/local/include/asterisk/app.h:26,
from app_flite.c:42:
/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 (fix build blanket)
Modified:
branches/2020Q1/audio/asterisk-flite/Makefile
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/audio/asterisk-flite/Makefile
==============================================================================
--- branches/2020Q1/audio/asterisk-flite/Makefile Fri Jan 3 13:17:01 2020 (r521937)
+++ branches/2020Q1/audio/asterisk-flite/Makefile Fri Jan 3 13:18:18 2020 (r521938)
@@ -26,7 +26,7 @@ asterisk16_CONFLICTS_INSTALL= asterisk13-flite
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-branches
mailing list