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
This commit is contained in:
Tobias Kortkamp 2018-08-01 06:16:52 +00:00
parent 3d93b5ef60
commit 4b6cea7770
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476157

View File

@ -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