From 01efefbfe2fdd43591ee336fb46c02a25a714254 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 16 Apr 2019 23:48:05 +0200 Subject: [PATCH] sci-physics/herwig++: Fix building against boost 1.70 Closes: https://bugs.gentoo.org/672250 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: David Seifert --- .../files/herwig++-2.7.1-fix-boost-1.67.patch | 42 +++++++++++++++++++ sci-physics/herwig++/herwig++-2.7.1-r1.ebuild | 6 ++- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 sci-physics/herwig++/files/herwig++-2.7.1-fix-boost-1.67.patch 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 new file mode 100644 index 000000000000..bd4579b575a0 --- /dev/null +++ b/sci-physics/herwig++/files/herwig++-2.7.1-fix-boost-1.67.patch @@ -0,0 +1,42 @@ +https://bugs.gentoo.org/672250 + +--- a/DipoleShower/Base/DipoleChain.cc ++++ b/DipoleShower/Base/DipoleChain.cc +@@ -15,6 +15,7 @@ + #include "Herwig++/DipoleShower/Utility/DipolePartonSplitter.h" + + #include ++#include + + using namespace Herwig; + +--- a/DipoleShower/Base/DipoleEventRecord.cc ++++ b/DipoleShower/Base/DipoleEventRecord.cc +@@ -19,6 +19,7 @@ + #include "ThePEG/PDF/PartonExtractor.h" + + #include ++#include + + #include + +--- a/Exsample2/BinnedStatistics.h ++++ b/Exsample2/BinnedStatistics.h +@@ -16,6 +16,7 @@ + #include "ThePEG/Repository/UseRandom.h" + + #include ++#include + + namespace Herwig { + +--- a/Exsample2/exsample/config.h ++++ b/Exsample2/exsample/config.h +@@ -25,6 +25,7 @@ + #include + + #include ++#include + #include + #include + diff --git a/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild index cb49eebe72f9..33fcc97e82f2 100644 --- a/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild +++ b/sci-physics/herwig++/herwig++-2.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -33,7 +33,9 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MYP}" src_prepare() { - epatch "${FILESDIR}"/${PN}-2.6.3-looptools.patch + epatch \ + "${FILESDIR}"/${PN}-2.6.3-looptools.patch \ + "${FILESDIR}"/${PN}-2.7.1-fix-boost-1.67.patch # fixes bug 570458, which is due to an outdated bundled boost.m4 rm m4/boost.m4 || die find -name 'Makefile.am' -exec \ -- 2.26.2