diff options
author | 2020-09-27 02:25:40 +0200 | |
---|---|---|
committer | 2020-09-27 02:31:05 +0200 | |
commit | 66544855b91f4862cad89525c1956f15ca1a3561 (patch) | |
tree | daa27a80f621055c252cd41c43d225ddee6e6399 /dev-games | |
parent | www-apps/webdavcgi: remove unused patches (diff) | |
download | gentoo-66544855b91f4862cad89525c1956f15ca1a3561.tar.gz gentoo-66544855b91f4862cad89525c1956f15ca1a3561.tar.bz2 gentoo-66544855b91f4862cad89525c1956f15ca1a3561.zip |
dev-games/simgear: fix compilation against >boost-1.73
Closes: https://bugs.gentoo.org/722900
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/simgear/files/simgear-2020.1.2-boost.patch | 11 | ||||
-rw-r--r-- | dev-games/simgear/simgear-2020.1.2.ebuild | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-games/simgear/files/simgear-2020.1.2-boost.patch b/dev-games/simgear/files/simgear-2020.1.2-boost.patch new file mode 100644 index 000000000000..d28853cb3811 --- /dev/null +++ b/dev-games/simgear/files/simgear-2020.1.2-boost.patch @@ -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) diff --git a/dev-games/simgear/simgear-2020.1.2.ebuild b/dev-games/simgear/simgear-2020.1.2.ebuild index 0b85c837275b..2408384dadbc 100644 --- a/dev-games/simgear/simgear-2020.1.2.ebuild +++ b/dev-games/simgear/simgear-2020.1.2.ebuild @@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}/${PN}-2019.1.1-gdal3.patch" + "${FILESDIR}/${P}-boost.patch" ) pkg_pretend() { |