svn commit: r334711 - head/audio/soundkonverter

David Naylor dbn at FreeBSD.org
Sun Nov 24 08:56:45 UTC 2013


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>


More information about the svn-ports-all mailing list