commit: d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> AuthorDate: Sun Sep 27 00:29:09 2020 +0000 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org> CommitDate: Sun Sep 27 00:31:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50ea0a6
games-simulation/flightgear: fix compilation against >boost-1.73 Closes: https://bugs.gentoo.org/722902 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org> .../flightgear/files/flightgear-2020.1.2-boost.patch | 11 +++++++++++ games-simulation/flightgear/flightgear-2020.1.2.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch b/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch new file mode 100644 index 00000000000..43e2a7d0cb1 --- /dev/null +++ b/games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -515,7 +515,7 @@ + set(NOMINMAX 1) + endif(WIN32) + +-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION") ++set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG") + + # append the SIMD flags if requested + if (ENABLE_SIMD) diff --git a/games-simulation/flightgear/flightgear-2020.1.2.ebuild b/games-simulation/flightgear/flightgear-2020.1.2.ebuild index 3a428d9e25a..5ea0ecfd859 100644 --- a/games-simulation/flightgear/flightgear-2020.1.2.ebuild +++ b/games-simulation/flightgear/flightgear-2020.1.2.ebuild @@ -65,6 +65,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}/${PN}-2020.1.2-cmake.patch" + "${FILESDIR}/${P}-boost.patch" ) DOCS=(AUTHORS ChangeLog NEWS README Thanks)
