--- /dev/null
+From e0683f4db0fb56f8139f78ca2e500b21ec2a67f0 Mon Sep 17 00:00:00 2001\r
+From: wmayer <wmayer@users.sourceforge.net>\r
+Date: Mon, 28 Dec 2015 13:54:40 +0100\r
+Subject: [PATCH] + fixes #0002347: freecad fails to build with Boost 1.60.0\r
+\r
+--- 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()) {\r
+ // change values of editable texts\r
+ boost::regex e2 ("(<text.*?freecad:editable=\""+what[1].str()+"\".*?<tspan.*?)>(.*?)(</tspan>)");\r
+- boost::re_detail::string_out_iterator<std::string > out(newfragment);\r
++ std::back_insert_iterator<std::string> out(newfragment);\r
+ boost::regex_replace(out, begin, what[0].second, e2, "$1>"+editText[count]+"$3");\r
+ }\r
+ count++;\r
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
einfo remove bundled libs
rm -rf src/3rdParty/{boost,Pivy*}
- epatch "${FILESDIR}"/${PN}-0.14.3702-install-paths.patch
+ epatch "${FILESDIR}"/${PN}-0.14.3702-install-paths.patch \
+ "${FILESDIR}"/${P}-boost-1.60.patch
#bug 518996
sed -e "/LibDir = /s:'lib':'"$(get_libdir)"':g" \