Gentoo Archives: gentoo-commits

From: Maciej Mrozowski <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/simgear/, dev-games/simgear/files/
Date: Sun, 27 Sep 2020 00:32:10
Message-Id: 1601166665.66544855b91f4862cad89525c1956f15ca1a3561.reavertm@gentoo
1 commit: 66544855b91f4862cad89525c1956f15ca1a3561
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 00:25:40 2020 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 00:31:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66544855
7
8 dev-games/simgear: fix compilation against >boost-1.73
9
10 Closes: https://bugs.gentoo.org/722900
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
13
14 dev-games/simgear/files/simgear-2020.1.2-boost.patch | 11 +++++++++++
15 dev-games/simgear/simgear-2020.1.2.ebuild | 1 +
16 2 files changed, 12 insertions(+)
17
18 diff --git a/dev-games/simgear/files/simgear-2020.1.2-boost.patch b/dev-games/simgear/files/simgear-2020.1.2-boost.patch
19 new file mode 100644
20 index 00000000000..d28853cb381
21 --- /dev/null
22 +++ b/dev-games/simgear/files/simgear-2020.1.2-boost.patch
23 @@ -0,0 +1,11 @@
24 +--- a/CMakeLists.txt
25 ++++ b/CMakeLists.txt
26 +@@ -227,7 +227,7 @@
27 + endif()
28 +
29 + find_package(Boost REQUIRED)
30 +-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
31 ++set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG")
32 + include(BoostTestTargets)
33 +
34 + if(SIMGEAR_HEADLESS)
35
36 diff --git a/dev-games/simgear/simgear-2020.1.2.ebuild b/dev-games/simgear/simgear-2020.1.2.ebuild
37 index 0b85c837275..2408384dadb 100644
38 --- a/dev-games/simgear/simgear-2020.1.2.ebuild
39 +++ b/dev-games/simgear/simgear-2020.1.2.ebuild
40 @@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND}
41
42 PATCHES=(
43 "${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
44 + "${FILESDIR}/${P}-boost.patch"
45 )
46
47 pkg_pretend() {