1 |
commit: d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436 |
2 |
Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 00:29:09 2020 +0000 |
4 |
Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 00:31:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50ea0a6 |
7 |
|
8 |
games-simulation/flightgear: fix compilation against >boost-1.73 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/722902 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org> |
13 |
|
14 |
.../flightgear/files/flightgear-2020.1.2-boost.patch | 11 +++++++++++ |
15 |
games-simulation/flightgear/flightgear-2020.1.2.ebuild | 1 + |
16 |
2 files changed, 12 insertions(+) |
17 |
|
18 |
diff --git a/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch b/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..43e2a7d0cb1 |
21 |
--- /dev/null |
22 |
+++ b/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch |
23 |
@@ -0,0 +1,11 @@ |
24 |
+--- a/CMakeLists.txt |
25 |
++++ b/CMakeLists.txt |
26 |
+@@ -515,7 +515,7 @@ |
27 |
+ set(NOMINMAX 1) |
28 |
+ endif(WIN32) |
29 |
+ |
30 |
+-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION") |
31 |
++set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG") |
32 |
+ |
33 |
+ # append the SIMD flags if requested |
34 |
+ if (ENABLE_SIMD) |
35 |
|
36 |
diff --git a/games-simulation/flightgear/flightgear-2020.1.2.ebuild b/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
37 |
index 3a428d9e25a..5ea0ecfd859 100644 |
38 |
--- a/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
39 |
+++ b/games-simulation/flightgear/flightgear-2020.1.2.ebuild |
40 |
@@ -65,6 +65,7 @@ RDEPEND="${COMMON_DEPEND} |
41 |
|
42 |
PATCHES=( |
43 |
"${FILESDIR}/${PN}-2020.1.2-cmake.patch" |
44 |
+ "${FILESDIR}/${P}-boost.patch" |
45 |
) |
46 |
|
47 |
DOCS=(AUTHORS ChangeLog NEWS README Thanks) |