summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2021-04-27 14:47:03 -0500
committerMatthias Maier <tamiko@gentoo.org>2021-04-27 14:47:03 -0500
commitf1655cd03ce6ddb7b5f018ee2c55b9539360108f (patch)
tree2cf4d39f5dc0b23664bf5cafe201bec890470197 /sci-libs/dealii
parentsci-libs/dealii: drop netcdf dependency (diff)
downloadgentoo-f1655cd03ce6ddb7b5f018ee2c55b9539360108f.tar.gz
gentoo-f1655cd03ce6ddb7b5f018ee2c55b9539360108f.tar.bz2
gentoo-f1655cd03ce6ddb7b5f018ee2c55b9539360108f.zip
sci-libs/dealii: fix compilation with modern boost
Upstream: https://github.com/dealii/dealii/commit/9c1a580 Closes: https://bugs.gentoo.org/764962 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/dealii')
-rw-r--r--sci-libs/dealii/dealii-9.2.0.ebuild1
-rw-r--r--sci-libs/dealii/files/dealii-9.2.0-fix-boost-include-file.patch25
2 files changed, 26 insertions, 0 deletions
diff --git a/sci-libs/dealii/dealii-9.2.0.ebuild b/sci-libs/dealii/dealii-9.2.0.ebuild
index 0974d9bee5a7..00d5f0fe2429 100644
--- a/sci-libs/dealii/dealii-9.2.0.ebuild
+++ b/sci-libs/dealii/dealii-9.2.0.ebuild
@@ -73,6 +73,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-9.1.1-no-ld-flags.patch
+ "${FILESDIR}"/${PN}-9.2.0-fix-boost-include-file.patch
)
src_configure() {
diff --git a/sci-libs/dealii/files/dealii-9.2.0-fix-boost-include-file.patch b/sci-libs/dealii/files/dealii-9.2.0-fix-boost-include-file.patch
new file mode 100644
index 000000000000..9fc6365d01c7
--- /dev/null
+++ b/sci-libs/dealii/files/dealii-9.2.0-fix-boost-include-file.patch
@@ -0,0 +1,25 @@
+From 9c1a580139f557433a226da437382b3f4307f7c8 Mon Sep 17 00:00:00 2001
+From: Luca Heltai <luca.heltai@sissa.it>
+Date: Wed, 30 Dec 2020 09:54:02 +0100
+Subject: [PATCH] Fix boost include file.
+
+---
+ source/fe/mapping.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/source/fe/mapping.cc b/source/fe/mapping.cc
+index 288a9debcb..4ef3ef7714 100644
+--- a/source/fe/mapping.cc
++++ b/source/fe/mapping.cc
+@@ -20,6 +20,8 @@
+
+ #include <deal.II/grid/tria.h>
+
++#include <boost/geometry.hpp>
++
+ DEAL_II_NAMESPACE_OPEN
+
+
+--
+2.26.3
+