1 |
commit: 15251ba9c43dbb9661083f2c65000c9219006d3f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 25 17:56:04 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 25 20:54:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15251ba9 |
7 |
|
8 |
dev-games/simgear: Fix build with >=boost-1.69 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/684026 |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../files/simgear-2018.3.2-boost-1.69.patch | 24 ++++++++++++++++++++++ |
15 |
dev-games/simgear/simgear-2018.3.2.ebuild | 2 ++ |
16 |
2 files changed, 26 insertions(+) |
17 |
|
18 |
diff --git a/dev-games/simgear/files/simgear-2018.3.2-boost-1.69.patch b/dev-games/simgear/files/simgear-2018.3.2-boost-1.69.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..2372c8c58ad |
21 |
--- /dev/null |
22 |
+++ b/dev-games/simgear/files/simgear-2018.3.2-boost-1.69.patch |
23 |
@@ -0,0 +1,24 @@ |
24 |
+From c1ac1fb93dace81b2a60f9d1f5d6d20298c8b9bb Mon Sep 17 00:00:00 2001 |
25 |
+From: Fabrice Bellet <fabrice@××××××.info> |
26 |
+Date: Fri, 1 Feb 2019 09:29:40 +0100 |
27 |
+Subject: [PATCH] fix for boost 1.69 |
28 |
+ |
29 |
+--- |
30 |
+ simgear/nasal/cppbind/NasalHash.hxx | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/simgear/nasal/cppbind/NasalHash.hxx b/simgear/nasal/cppbind/NasalHash.hxx |
34 |
+index aac672fd..2ee7d044 100644 |
35 |
+--- a/simgear/nasal/cppbind/NasalHash.hxx |
36 |
++++ b/simgear/nasal/cppbind/NasalHash.hxx |
37 |
+@@ -23,6 +23,7 @@ |
38 |
+ #include "to_nasal.hxx" |
39 |
+ |
40 |
+ #include <simgear/structure/map.hxx> |
41 |
++#include <boost/core/enable_if.hpp> |
42 |
+ #include <boost/iterator/iterator_facade.hpp> |
43 |
+ |
44 |
+ namespace nasal |
45 |
+-- |
46 |
+2.20.1 |
47 |
+ |
48 |
|
49 |
diff --git a/dev-games/simgear/simgear-2018.3.2.ebuild b/dev-games/simgear/simgear-2018.3.2.ebuild |
50 |
index a65b51665aa..ead30a3c496 100644 |
51 |
--- a/dev-games/simgear/simgear-2018.3.2.ebuild |
52 |
+++ b/dev-games/simgear/simgear-2018.3.2.ebuild |
53 |
@@ -31,6 +31,8 @@ RDEPEND="${COMMON_DEPEND} |
54 |
subversion? ( dev-vcs/subversion ) |
55 |
" |
56 |
|
57 |
+PATCHES=( "${FILESDIR}/${P}-boost-1.69.patch" ) |
58 |
+ |
59 |
pkg_pretend() { |
60 |
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
61 |
} |