Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 17:24:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209614] graphics/blender: Fix build with libc++ 3.8.0
Message-ID:  <bug-209614-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 209614
           Summary: graphics/blender: 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: mva@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(mva@FreeBSD.org)
          Assignee: mva@FreeBSD.org

Created attachment 170452
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170452&action=
=3Dedit
Fix std::map declaration in graphics/blender

During the exp-run in bug 208158, it was found that graphics/blender gives
errors with libc++ 3.8.0 [1]:

In file included from
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/Armatur=
e.cpp:11:
In file included from
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/Armatur=
e.hpp:11:
In file included from
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/Control=
ledObject.hpp:12:
In file included from
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/eigen_t=
ypes.hpp:13:
In file included from
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/kdl/tre=
e.hpp:29:
/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)>)> \
                                  ^
/wrkdirs/usr/ports/graphics/blender/work/blender-2.76b/intern/itasc/kdl/tre=
e.hpp:59:9:
note: in instantiation of template class
'std::__1::map<std::__1::basic_string<char>, KDL::TreeElement,
std::__1::less<std::__1::basic_string<char> >,
Eigen::aligned_allocator<std::__1::pair<std::__1::basic_string<char>,
KDL::TreeElement> > >' requested here
        SegmentMap::value_type const *parent;
        ^

This is because the allocator for SegmentMap is not defined correctly.  Fix
this by correcting the definition to use a const string.

[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_=
10h29m48s/logs/errors/blender-2.76b_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-209614-13>