mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build of audio/soundkonverter due to the use of '-pedantic'.
Soundkonverter includes a C file that has a trailing comma (,) at the end of an enum, this construct is only supported by C++11 (but by C99) thus is not accepted as valid with the '-pedantic'. The base compiler (gcc) does not understand C++11 and errors on this. Remove the '-pedantic' option as it does not impact on the code produced, to allow the port to be built. PR: ports/182906
This commit is contained in:
parent
4373c7f242
commit
9b5265f7bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334711
@ -108,4 +108,7 @@ WAVPACK_RUN_DEPENDS= wavpack:${PORTSDIR}/audio/wavpack
|
||||
NLS_USES= gettext
|
||||
NLS_CMAKE_OFF= -DBUILD_po=FALSE
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} "/-pedantic/d" ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user