mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
From e0683f4db0fb56f8139f78ca2e500b21ec2a67f0 Mon Sep 17 00:00:00 2001
|
|
From: wmayer <wmayer@users.sourceforge.net>
|
|
Date: Mon, 28 Dec 2015 13:54:40 +0100
|
|
Subject: [PATCH] + fixes #0002347: freecad fails to build with Boost 1.60.0
|
|
|
|
---
|
|
src/Mod/Drawing/App/FeaturePage.cpp | 2 +-
|
|
src/Mod/Drawing/App/FeatureViewSymbol.cpp | 3 ++-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/Mod/Drawing/App/FeaturePage.cpp b/src/Mod/Drawing/App/FeaturePage.cpp
|
|
index 60c9eff..f9166a9 100644
|
|
--- a/src/Mod/Drawing/App/FeaturePage.cpp
|
|
+++ b/src/Mod/Drawing/App/FeaturePage.cpp
|
|
@@ -211,7 +211,7 @@ App::DocumentObjectExecReturn *FeaturePage::execute(void)
|
|
if (count < editText.size()) {
|
|
// change values of editable texts
|
|
boost::regex e2 ("(<text.*?freecad:editable=\""+what[1].str()+"\".*?<tspan.*?)>(.*?)(</tspan>)");
|
|
- boost::re_detail::string_out_iterator<std::string > out(newfragment);
|
|
+ std::back_insert_iterator<std::string> out(newfragment);
|
|
boost::regex_replace(out, begin, what[0].second, e2, "$1>"+editText[count]+"$3");
|
|
}
|
|
count++;
|