Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 05:40:21 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476151 - head/audio/mp3plot
Message-ID:  <201808010540.w715eLZe014983@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Aug  1 05:40:20 2018
New Revision: 476151
URL: https://svnweb.freebsd.org/changeset/ports/476151

Log:
  audio/mp3plot: Fix build with Clang 6
  
  /usr/include/c++/v1/memory:2097:9: error: cannot initialize a member subobject of type 'boost::shared_ptr<mp3plot::bitrate_plotter> *' with an rvalue of type 'int'
        : __value_(_VSTD::forward<_Up>(__u)){};
          ^        ~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/c++/v1/memory:2187:9: note: in instantiation of function template specialization 'std::__1::__compressed_pair_elem<boost::shared_ptr<mp3plot::bitrate_plotter> *, 0, false>::__compressed_pair_elem<int, void>' requested here
        : _Base1(std::forward<_Tp>(__t)), _Base2() {}
          ^
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/mp3plot-0.6.0_21.log

Modified:
  head/audio/mp3plot/Makefile

Modified: head/audio/mp3plot/Makefile
==============================================================================
--- head/audio/mp3plot/Makefile	Wed Aug  1 05:25:35 2018	(r476150)
+++ head/audio/mp3plot/Makefile	Wed Aug  1 05:40:20 2018	(r476151)
@@ -16,6 +16,8 @@ BROKEN_powerpc64=	fails to configure: C++ compiler can
 
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
+USE_CXXSTD=	c++98
+
 OPTIONS_DEFINE=	GD IMAGEMAGICK
 OPTIONS_DEFAULT=GD
 



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