mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user