diff options
Diffstat (limited to 'graphics/Blender/0001-Added-extra-const-to-satisfy-the-strict-clang-versio.patch')
-rw-r--r-- | graphics/Blender/0001-Added-extra-const-to-satisfy-the-strict-clang-versio.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/Blender/0001-Added-extra-const-to-satisfy-the-strict-clang-versio.patch b/graphics/Blender/0001-Added-extra-const-to-satisfy-the-strict-clang-versio.patch new file mode 100644 index 0000000000..b0e6f765d2 --- /dev/null +++ b/graphics/Blender/0001-Added-extra-const-to-satisfy-the-strict-clang-versio.patch @@ -0,0 +1,25 @@ +From ee30a4381f8989ed9f39b4baae9f74e45c9dcdc9 Mon Sep 17 00:00:00 2001 +From: Stefan Werner <stewreo@gmail.com> +Date: Wed, 20 Sep 2017 21:47:37 +0200 +Subject: [PATCH] Added extra "const" to satisfy the strict clang version in + Xcode 9 + +--- + intern/itasc/kdl/tree.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/intern/itasc/kdl/tree.hpp b/intern/itasc/kdl/tree.hpp +index c8a253fc901..bd35f82d185 100644 +--- a/intern/itasc/kdl/tree.hpp ++++ b/intern/itasc/kdl/tree.hpp +@@ -34,7 +34,7 @@ namespace KDL + //Forward declaration + class TreeElement; + // Eigen allocator is needed for alignment of Eigen data types +- typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<std::string, TreeElement> > > SegmentMap; ++ typedef std::map<std::string,TreeElement, std::less<std::string>, Eigen::aligned_allocator<std::pair<const std::string, TreeElement> > > SegmentMap; + + class TreeElement + { +-- +2.13.7 |