Summary: | audio/taglib .h files not c++ pedantic clean, breaks audio/soundkonverter (mp4coverart.h:49: error: comma at end of enumerator list) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark.Martinec |
Component: | Individual Port(s) | Assignee: | Jason E. Hale <jhale> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | robak |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Mark.Martinec
2013-10-11 16:30:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->jhale Over to maintainer (via the GNATS Auto Assign Tool) Author: dbn Date: Sun Nov 24 08:56:44 2013 New Revision: 334711 URL: http://svnweb.freebsd.org/changeset/ports/334711 Log: 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 Modified: head/audio/soundkonverter/Makefile Modified: head/audio/soundkonverter/Makefile ============================================================================== --- head/audio/soundkonverter/Makefile Sun Nov 24 08:28:43 2013 (r334710) +++ head/audio/soundkonverter/Makefile Sun Nov 24 08:56:44 2013 (r334711) @@ -108,4 +108,7 @@ WAVPACK_RUN_DEPENDS= wavpack:${PORTSDIR} NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po=FALSE +post-patch: + ${REINPLACE_CMD} "/-pedantic/d" ${WRKSRC}/CMakeLists.txt + .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" This issue has been fixed in commit ages ago, so I am closing this PR. |