From owner-svn-ports-all@freebsd.org Tue Sep 13 18:37:44 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F308ABD96F0; Tue, 13 Sep 2016 18:37:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C59FDD19; Tue, 13 Sep 2016 18:37:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8DIbiwU099251; Tue, 13 Sep 2016 18:37:44 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8DIbifH099250; Tue, 13 Sep 2016 18:37:44 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201609131837.u8DIbifH099250@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 13 Sep 2016 18:37:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r422055 - branches/2016Q3/audio/clementine-player X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 18:37:45 -0000 Author: dim (src committer) Date: Tue Sep 13 18:37:43 2016 New Revision: 422055 URL: https://svnweb.freebsd.org/changeset/ports/422055 Log: MFH: r421953 Fix build of audio/clementine-player with clang 3.9.0 Clang 3.9.0 has a new warning about undefined template variables, which is triggered by including cryptopp headers in the spotify blob downloader: In file included from /wrkdirs/usr/ports/audio/clementine-player/work/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp:43: /usr/local/include/cryptopp/pkcspad.h:74:53: error: instantiation of variable 'CryptoPP::PKCS_DigestDecoration::decoration' required here, but no definition is available [-Werror,-Wundefined-var-template] return HashIdentifier(PKCS_DigestDecoration::decoration, PKCS_DigestDecoration::length); ^ This warning could be silenced by hacking on cryptopp, but just suppress it for now. Approved by: portmgr (feld) PR: 212343 Modified: branches/2016Q3/audio/clementine-player/Makefile Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/audio/clementine-player/Makefile ============================================================================== --- branches/2016Q3/audio/clementine-player/Makefile Tue Sep 13 18:23:44 2016 (r422054) +++ branches/2016Q3/audio/clementine-player/Makefile Tue Sep 13 18:37:43 2016 (r422055) @@ -198,4 +198,10 @@ VISUALISATION_CMAKE_OFF=-DENABLE_VISUALI WIIMOTEDEV_CMAKE_ON= -DENABLE_WIIMOTEDEV=ON WIIMOTEDEV_CMAKE_OFF= -DENABLE_WIIMOTEDEV=OFF +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39 +CXXFLAGS+= -Wno-undefined-var-template +.endif + .include