Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 18:37:44 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r422055 - branches/2016Q3/audio/clementine-player
Message-ID:  <201609131837.u8DIbifH099250@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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<CryptoPP::SHA512>::decoration' required here, but no definition is available [-Werror,-Wundefined-var-template]
                                  return HashIdentifier(PKCS_DigestDecoration<H>::decoration, PKCS_DigestDecoration<H>::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 <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39
+CXXFLAGS+=	-Wno-undefined-var-template
+.endif
+
 .include <bsd.port.mk>



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