Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 06:16:52 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476157 - head/audio/HVSC-Update
Message-ID:  <201808010616.w716Gqja036150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Aug  1 06:16:52 2018
New Revision: 476157
URL: https://svnweb.freebsd.org/changeset/ports/476157

Log:
  audio/HVSC-Update: Fix build with Clang 6
  
  The configure check for ios::binary fails with
  
  /usr/include/stdlib.h:97:1: error: function declared '[[noreturn]]' after its first declaration
  _Noreturn void   exit(int);
  ^
  /usr/include/sys/cdefs.h:280:22: note: expanded from macro '_Noreturn'
  #define _Noreturn               [[noreturn]]
                                    ^
  conftest.cc:9:6: note: declaration missing '[[noreturn]]' attribute is here
  void exit (int);
       ^
  
  which leads to the build falling back to using ios::bin due to
  having HAVE_IOS_BIN defined.
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/HVSC-Update-2.8.7.log

Modified:
  head/audio/HVSC-Update/Makefile

Modified: head/audio/HVSC-Update/Makefile
==============================================================================
--- head/audio/HVSC-Update/Makefile	Wed Aug  1 06:04:56 2018	(r476156)
+++ head/audio/HVSC-Update/Makefile	Wed Aug  1 06:16:52 2018	(r476157)
@@ -14,6 +14,7 @@ BUILD_DEPENDS=	makedepend:devel/makedepend
 
 GNU_CONFIGURE=	yes
 USES=		gmake
+USE_CXXSTD=	c++98
 WRKSRC=		${WRKDIR}/${PORTNAME:S/-/_/}_Tool_${PORTVERSION:S/.//g}
 
 PORTDOCS=	HVS_file_format.txt HVSC_Update.txt SID_file_format.txt



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