svn commit: r476151 - head/audio/mp3plot

Tobias Kortkamp tobik at FreeBSD.org
Wed Aug 1 05:40:22 UTC 2018


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
 


More information about the svn-ports-all mailing list