commit:     66544855b91f4862cad89525c1956f15ca1a3561
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 00:25:40 2020 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 00:31:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66544855

dev-games/simgear: fix compilation against >boost-1.73

Closes: https://bugs.gentoo.org/722900
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 dev-games/simgear/files/simgear-2020.1.2-boost.patch | 11 +++++++++++
 dev-games/simgear/simgear-2020.1.2.ebuild            |  1 +
 2 files changed, 12 insertions(+)

diff --git a/dev-games/simgear/files/simgear-2020.1.2-boost.patch 
b/dev-games/simgear/files/simgear-2020.1.2-boost.patch
new file mode 100644
index 00000000000..d28853cb381
--- /dev/null
+++ b/dev-games/simgear/files/simgear-2020.1.2-boost.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -227,7 +227,7 @@
+ endif()
+
+ find_package(Boost REQUIRED)
+-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
++set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION 
-DBOOST_NO_STDLIB_CONFIG")
+ include(BoostTestTargets)
+
+ if(SIMGEAR_HEADLESS)

diff --git a/dev-games/simgear/simgear-2020.1.2.ebuild 
b/dev-games/simgear/simgear-2020.1.2.ebuild
index 0b85c837275..2408384dadb 100644
--- a/dev-games/simgear/simgear-2020.1.2.ebuild
+++ b/dev-games/simgear/simgear-2020.1.2.ebuild
@@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND}
 
 PATCHES=(
        "${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
+       "${FILESDIR}/${P}-boost.patch"
 )
 
 pkg_pretend() {

Reply via email to