Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 08:56:45 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334711 - head/audio/soundkonverter
Message-ID:  <201311240856.rAO8ujbN078625@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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