summaryrefslogtreecommitdiff
path: root/media-gfx/freecad/files
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-04-03 21:07:12 +0200
committerDavid Seifert <soap@gentoo.org>2016-04-03 21:07:56 +0200
commita2909cb627d3c5a393eaf25acd92d2180891bd1f (patch)
treeae15e9238e11582e9e3a6a36c78268f36c3fe391 /media-gfx/freecad/files
parent49456905e9fc87cc277d427cc60806bea9d19ccc (diff)
downloadgentoo-a2909cb627d3c5a393eaf25acd92d2180891bd1f.tar.gz
gentoo-a2909cb627d3c5a393eaf25acd92d2180891bd1f.tar.xz
media-gfx/freecad: Patch out internal boost::re_detail for boost 1.60
Gentoo-Bug: 578910 Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx/freecad/files')
-rw-r--r--media-gfx/freecad/files/freecad-0.15.4671-boost-1.60.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-gfx/freecad/files/freecad-0.15.4671-boost-1.60.patch b/media-gfx/freecad/files/freecad-0.15.4671-boost-1.60.patch
new file mode 100644
index 00000000000..4a7dbabdfc5
--- /dev/null
+++ b/media-gfx/freecad/files/freecad-0.15.4671-boost-1.60.patch
@@ -0,0 +1,16 @@
+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
+
+--- freecad-0.15.4671/src/Mod/Drawing/App/FeaturePage.cpp
++++ freecad-0.15.4671/src/Mod/Drawing/App/FeaturePage.cpp
+@@ -195,7 +195,7 @@
+ 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++;