From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/freecad/, media-gfx/freecad/files/
Date: Sun, 3 Apr 2016 19:08:02 +0000 (UTC) [thread overview]
Message-ID: <1459710476.a2909cb627d3c5a393eaf25acd92d2180891bd1f.soap@gentoo> (raw)
commit: a2909cb627d3c5a393eaf25acd92d2180891bd1f
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 3 19:07:12 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 3 19:07:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2909cb6
media-gfx/freecad: Patch out internal boost::re_detail for boost 1.60
Gentoo-Bug: 578910
Package-Manager: portage-2.2.28
.../freecad/files/freecad-0.15.4671-boost-1.60.patch | 16 ++++++++++++++++
media-gfx/freecad/freecad-0.15.4671.ebuild | 5 +++--
2 files changed, 19 insertions(+), 2 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 0000000..4a7dbab
--- /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++;
diff --git a/media-gfx/freecad/freecad-0.15.4671.ebuild b/media-gfx/freecad/freecad-0.15.4671.ebuild
index d0e09c6..4c5cb71 100644
--- a/media-gfx/freecad/freecad-0.15.4671.ebuild
+++ b/media-gfx/freecad/freecad-0.15.4671.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -61,7 +61,8 @@ src_prepare() {
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" \
next reply other threads:[~2016-04-03 19:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 19:08 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-11-06 1:58 [gentoo-commits] repo/gentoo:master commit in: media-gfx/freecad/, media-gfx/freecad/files/ Andreas Sturmlechner
2021-02-15 9:04 Joonas Niilola
2021-03-14 11:41 Joonas Niilola
2021-05-04 22:02 Sam James
2021-06-21 22:26 Sam James
2021-11-02 10:04 Sam James
2022-02-03 2:19 Sam James
2022-04-02 12:58 Andreas Sturmlechner
2023-08-19 9:05 Miroslav Šulc
2024-04-14 8:56 Andrew Ammerlaan
2024-05-29 17:07 Andrew Ammerlaan
2024-06-03 15:00 Andrew Ammerlaan
2024-11-20 10:31 Nowa Ammerlaan
2024-11-23 19:40 Andreas Sturmlechner
2024-11-24 20:25 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459710476.a2909cb627d3c5a393eaf25acd92d2180891bd1f.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox