1 |
commit: f1655cd03ce6ddb7b5f018ee2c55b9539360108f |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 19:47:03 2021 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 27 19:47:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1655cd0 |
7 |
|
8 |
sci-libs/dealii: fix compilation with modern boost |
9 |
|
10 |
Upstream: https://github.com/dealii/dealii/commit/9c1a580 |
11 |
Closes: https://bugs.gentoo.org/764962 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
14 |
|
15 |
sci-libs/dealii/dealii-9.2.0.ebuild | 1 + |
16 |
.../dealii-9.2.0-fix-boost-include-file.patch | 25 ++++++++++++++++++++++ |
17 |
2 files changed, 26 insertions(+) |
18 |
|
19 |
diff --git a/sci-libs/dealii/dealii-9.2.0.ebuild b/sci-libs/dealii/dealii-9.2.0.ebuild |
20 |
index 0974d9bee5a..00d5f0fe242 100644 |
21 |
--- a/sci-libs/dealii/dealii-9.2.0.ebuild |
22 |
+++ b/sci-libs/dealii/dealii-9.2.0.ebuild |
23 |
@@ -73,6 +73,7 @@ DEPEND="${RDEPEND} |
24 |
|
25 |
PATCHES=( |
26 |
"${FILESDIR}"/${PN}-9.1.1-no-ld-flags.patch |
27 |
+ "${FILESDIR}"/${PN}-9.2.0-fix-boost-include-file.patch |
28 |
) |
29 |
|
30 |
src_configure() { |
31 |
|
32 |
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 |
33 |
new file mode 100644 |
34 |
index 00000000000..9fc6365d01c |
35 |
--- /dev/null |
36 |
+++ b/sci-libs/dealii/files/dealii-9.2.0-fix-boost-include-file.patch |
37 |
@@ -0,0 +1,25 @@ |
38 |
+From 9c1a580139f557433a226da437382b3f4307f7c8 Mon Sep 17 00:00:00 2001 |
39 |
+From: Luca Heltai <luca.heltai@×××××.it> |
40 |
+Date: Wed, 30 Dec 2020 09:54:02 +0100 |
41 |
+Subject: [PATCH] Fix boost include file. |
42 |
+ |
43 |
+--- |
44 |
+ source/fe/mapping.cc | 2 ++ |
45 |
+ 1 file changed, 2 insertions(+) |
46 |
+ |
47 |
+diff --git a/source/fe/mapping.cc b/source/fe/mapping.cc |
48 |
+index 288a9debcb..4ef3ef7714 100644 |
49 |
+--- a/source/fe/mapping.cc |
50 |
++++ b/source/fe/mapping.cc |
51 |
+@@ -20,6 +20,8 @@ |
52 |
+ |
53 |
+ #include <deal.II/grid/tria.h> |
54 |
+ |
55 |
++#include <boost/geometry.hpp> |
56 |
++ |
57 |
+ DEAL_II_NAMESPACE_OPEN |
58 |
+ |
59 |
+ |
60 |
+-- |
61 |
+2.26.3 |
62 |
+ |