summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2020-09-27 02:29:09 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2020-09-27 02:31:23 +0200
commitd50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436 (patch)
treee937734547b86899ff1a449bcd81352fe604c7d2
parentdev-games/simgear: fix compilation against >boost-1.73 (diff)
downloadgentoo-d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436.tar.gz
gentoo-d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436.tar.bz2
gentoo-d50ea0a6972a176f2f5ef05e9ea39a8ea5ebb436.zip
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>
-rw-r--r--games-simulation/flightgear/files/flightgear-2020.1.2-boost.patch11
-rw-r--r--games-simulation/flightgear/flightgear-2020.1.2.ebuild1
2 files changed, 12 insertions, 0 deletions
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)