From owner-svn-ports-all@freebsd.org Mon Sep 12 19:41:13 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 3B8C1BD87BB; Mon, 12 Sep 2016 19:41:13 +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 0B9DDCC; Mon, 12 Sep 2016 19:41:12 +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 u8CJfC8V072144; Mon, 12 Sep 2016 19:41:12 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8CJfCv3072143; Mon, 12 Sep 2016 19:41:12 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201609121941.u8CJfCv3072143@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Mon, 12 Sep 2016 19:41:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421953 - head/audio/clementine-player X-SVN-Group: ports-head 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: Mon, 12 Sep 2016 19:41:13 -0000 Author: dim (src committer) Date: Mon Sep 12 19:41:12 2016 New Revision: 421953 URL: https://svnweb.freebsd.org/changeset/ports/421953 Log: 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: sbruno (maintainer) PR: 212343 MFH: 2016Q3 Modified: head/audio/clementine-player/Makefile Modified: head/audio/clementine-player/Makefile ============================================================================== --- head/audio/clementine-player/Makefile Mon Sep 12 19:35:05 2016 (r421952) +++ head/audio/clementine-player/Makefile Mon Sep 12 19:41:12 2016 (r421953) @@ -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