[Bug 209332] audio/ardour: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 6 14:59:32 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209332
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 at FreeBSD.org
Reporter: dim at FreeBSD.org
Assignee: danfe at FreeBSD.org
Flags: maintainer-feedback?(danfe at FreeBSD.org)
Created attachment 170049
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170049&action=edit
Fix std::map declaration in audio/ardour
During the exp-run in bug 208158, it was found that audio/ardour gives errors
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_assert'
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 this 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list