From 05a50e2dc3ff5b8e85a9729bdab775ea1d5f46ea Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 16 Mar 2021 23:39:42 -0400 Subject: [PATCH] sci-libs/dealii: fix build with boost-1.75 Closes: https://bugs.gentoo.org/764962 Signed-off-by: Ionen Wolkens --- sci-libs/dealii/dealii-9.2.0.ebuild | 1 + sci-libs/dealii/files/dealii-9.2.0-boost-1.75.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 sci-libs/dealii/files/dealii-9.2.0-boost-1.75.patch diff --git a/sci-libs/dealii/dealii-9.2.0.ebuild b/sci-libs/dealii/dealii-9.2.0.ebuild index 84251e8e938..64b5dbe4b6f 100644 --- a/sci-libs/dealii/dealii-9.2.0.ebuild +++ b/sci-libs/dealii/dealii-9.2.0.ebuild @@ -74,6 +74,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-9.1.1-no-ld-flags.patch + "${FILESDIR}"/${P}-boost-1.75.patch ) src_configure() { diff --git a/sci-libs/dealii/files/dealii-9.2.0-boost-1.75.patch b/sci-libs/dealii/files/dealii-9.2.0-boost-1.75.patch new file mode 100644 index 00000000000..a55e3061fe1 --- /dev/null +++ b/sci-libs/dealii/files/dealii-9.2.0-boost-1.75.patch @@ -0,0 +1,11 @@ +Fix build with boost-1.75 + +https://bugs.gentoo.org/764962 +https://github.com/dealii/dealii/commit/9c1a580 +--- a/source/fe/mapping.cc ++++ b/source/fe/mapping.cc +@@ -22,2 +22,4 @@ + ++#include ++ + DEAL_II_NAMESPACE_OPEN -- 2.31.0