From owner-svn-ports-head@FreeBSD.ORG Sun Nov 24 08:56:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78EB0156; Sun, 24 Nov 2013 08:56:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68A6B2710; Sun, 24 Nov 2013 08:56:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAO8ujam078626; Sun, 24 Nov 2013 08:56:45 GMT (envelope-from dbn@svn.freebsd.org) Received: (from dbn@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAO8ujbN078625; Sun, 24 Nov 2013 08:56:45 GMT (envelope-from dbn@svn.freebsd.org) Message-Id: <201311240856.rAO8ujbN078625@svn.freebsd.org> From: David Naylor Date: Sun, 24 Nov 2013 08:56:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334711 - head/audio/soundkonverter X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 08:56:45 -0000 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