From d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436 Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Sun, 27 Sep 2020 02:29:09 +0200 Subject: 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 --- .../flightgear/files/flightgear-2020.1.2-boost.patch | 11 +++++++++++ games-simulation/flightgear/flightgear-2020.1.2.ebuild | 1 + 2 files changed, 12 insertions(+) create mode 100644 games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch 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 000000000000..43e2a7d0cb13 --- /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 3a428d9e25ad..5ea0ecfd8591 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) -- cgit v1.2.3-65-gdbad