Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2016 14:59:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209332] audio/ardour: Fix build with libc++ 3.8.0
Message-ID:  <bug-209332-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209332

            Bug ID: 209332
           Summary: audio/ardour: Fix build with libc++ 3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

Created attachment 170049
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170049&action=
=3Dedit
Fix std::map declaration in audio/ardour

During the exp-run in bug 208158, it was found that audio/ardour gives erro=
rs
with libc++ 3.8.0 [1]:

In file included from gtk2_ardour/editor.cc:33:
In file included from libs/pbd/pbd/enumwriter.h:24:
/usr/include/c++/v1/map:837:5: error: implicit instantiation of undefined
template '__static_assert_test<false>'
    static_assert((is_same<typename allocator_type::value_type,
value_type>::value),
    ^
/usr/include/c++/v1/__config:632:35: note: expanded from macro 'static_asse=
rt'
    typedef __static_assert_check<sizeof(__static_assert_test<(__b)>)> \
                                  ^
gtk2_ardour/tempo_lines.h:53:8: note: in instantiation of template class
'std::__1::map<double, Gnome::Canvas::SimpleLine *, std::__1::less<double>,
boost::fast_pool_allocator<std::__1::pair<double, Gnome::Canvas::SimpleLine=
 *>,
boost::default_user_allocator_new_delete, boost::details::pool::null_mutex,
8192, 0> >' requested here
        Lines _lines;
              ^

This is because the std::map's allocator is not defined correctly.  Fix thi=
s by
correcting the 'fast_pool_allocator' definition to use a const double.

[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_=
10h29m48s/logs/errors/ardour-2.8.16_1.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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