Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2020 22:53:45 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r522064 - branches/2020Q1/net/asterisk-g72x
Message-ID:  <202001042253.004Mrj6X058915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Jan  4 22:53:45 2020
New Revision: 522064
URL: https://svnweb.freebsd.org/changeset/ports/522064

Log:
  MFH: r522062
  
  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)
  
  Approved by:	portmgr (fix build blanket)

Modified:
  branches/2020Q1/net/asterisk-g72x/Makefile
Directory Properties:
  branches/2020Q1/   (props changed)

Modified: branches/2020Q1/net/asterisk-g72x/Makefile
==============================================================================
--- branches/2020Q1/net/asterisk-g72x/Makefile	Sat Jan  4 22:52:54 2020	(r522063)
+++ branches/2020Q1/net/asterisk-g72x/Makefile	Sat Jan  4 22:53:45 2020	(r522064)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001042253.004Mrj6X058915>