Skip to content

Commit

Permalink
dev-games/simgear: fix compilation against >boost-1.73
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/722900
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <[email protected]>
  • Loading branch information
reavertm committed Sep 27, 2020
1 parent 1f45c9a commit 6654485
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dev-games/simgear/files/simgear-2020.1.2-boost.patch
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions dev-games/simgear/simgear-2020.1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND}

PATCHES=(
"${FILESDIR}/${PN}-2019.1.1-gdal3.patch"
"${FILESDIR}/${P}-boost.patch"
)

pkg_pretend() {
Expand Down

0 comments on commit 6654485

Please sign in to comment.