Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/herwig++/files/, sci-physics/herwig++/
Date: Tue, 16 Apr 2019 21:49:06
Message-Id: 1555451319.01efefbfe2fdd43591ee336fb46c02a25a714254.soap@gentoo
1 commit: 01efefbfe2fdd43591ee336fb46c02a25a714254
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 16 21:48:05 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 16 21:48:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01efefbf
7
8 sci-physics/herwig++: Fix building against boost 1.70
9
10 Closes: https://bugs.gentoo.org/672250
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 .../files/herwig++-2.7.1-fix-boost-1.67.patch | 42 ++++++++++++++++++++++
15 sci-physics/herwig++/herwig++-2.7.1-r1.ebuild | 6 ++--
16 2 files changed, 46 insertions(+), 2 deletions(-)
17
18 diff --git a/sci-physics/herwig++/files/herwig++-2.7.1-fix-boost-1.67.patch b/sci-physics/herwig++/files/herwig++-2.7.1-fix-boost-1.67.patch
19 new file mode 100644
20 index 00000000000..bd4579b575a
21 --- /dev/null
22 +++ b/sci-physics/herwig++/files/herwig++-2.7.1-fix-boost-1.67.patch
23 @@ -0,0 +1,42 @@
24 +https://bugs.gentoo.org/672250
25 +
26 +--- a/DipoleShower/Base/DipoleChain.cc
27 ++++ b/DipoleShower/Base/DipoleChain.cc
28 +@@ -15,6 +15,7 @@
29 + #include "Herwig++/DipoleShower/Utility/DipolePartonSplitter.h"
30 +
31 + #include <boost/utility.hpp>
32 ++#include <boost/next_prior.hpp>
33 +
34 + using namespace Herwig;
35 +
36 +--- a/DipoleShower/Base/DipoleEventRecord.cc
37 ++++ b/DipoleShower/Base/DipoleEventRecord.cc
38 +@@ -19,6 +19,7 @@
39 + #include "ThePEG/PDF/PartonExtractor.h"
40 +
41 + #include <boost/utility.hpp>
42 ++#include <boost/next_prior.hpp>
43 +
44 + #include <algorithm>
45 +
46 +--- a/Exsample2/BinnedStatistics.h
47 ++++ b/Exsample2/BinnedStatistics.h
48 +@@ -16,6 +16,7 @@
49 + #include "ThePEG/Repository/UseRandom.h"
50 +
51 + #include <boost/utility.hpp>
52 ++#include <boost/next_prior.hpp>
53 +
54 + namespace Herwig {
55 +
56 +--- a/Exsample2/exsample/config.h
57 ++++ b/Exsample2/exsample/config.h
58 +@@ -25,6 +25,7 @@
59 + #include <limits>
60 +
61 + #include <boost/utility.hpp>
62 ++#include <boost/next_prior.hpp>
63 + #include <boost/scoped_array.hpp>
64 + #include <boost/scoped_ptr.hpp>
65 +
66
67 diff --git a/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild
68 index cb49eebe72f..33fcc97e82f 100644
69 --- a/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild
70 +++ b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild
71 @@ -1,4 +1,4 @@
72 -# Copyright 1999-2016 Gentoo Foundation
73 +# Copyright 1999-2019 Gentoo Authors
74 # Distributed under the terms of the GNU General Public License v2
75
76 EAPI=5
77 @@ -33,7 +33,9 @@ DEPEND="${RDEPEND}
78 S="${WORKDIR}/${MYP}"
79
80 src_prepare() {
81 - epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch
82 + epatch \
83 + "${FILESDIR}"/${PN}-2.6.3-looptools.patch \
84 + "${FILESDIR}"/${PN}-2.7.1-fix-boost-1.67.patch
85 # fixes bug 570458, which is due to an outdated bundled boost.m4
86 rm m4/boost.m4 || die
87 find -name 'Makefile.am' -exec \