commit: 768f7595d58ed27e21fea815a52c5ca20c21410a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 28 01:41:33 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 28 01:41:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768f7595
games-strategy/wesnoth: fix build w/ boost-1.85 Closes: https://bugs.gentoo.org/932255 Thanks-to: Marcin Deranek <marcin.deranek <AT> slonko.net> Signed-off-by: Sam James <sam <AT> gentoo.org> games-strategy/wesnoth/files/wesnoth-1.18.0-boost-1.85.patch | 12 ++++++++++++ games-strategy/wesnoth/wesnoth-1.18.0.ebuild | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/games-strategy/wesnoth/files/wesnoth-1.18.0-boost-1.85.patch b/games-strategy/wesnoth/files/wesnoth-1.18.0-boost-1.85.patch new file mode 100644 index 000000000000..412a4cf8e39d --- /dev/null +++ b/games-strategy/wesnoth/files/wesnoth-1.18.0-boost-1.85.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/932255 +--- a/src/filesystem.cpp ++++ b/src/filesystem.cpp +@@ -30,6 +30,7 @@ + #include "serialization/unicode.hpp" + #include "utils/general.hpp" + ++#include <boost/filesystem/directory.hpp> + #include <boost/filesystem/fstream.hpp> + #include <boost/iostreams/device/file_descriptor.hpp> + #include <boost/iostreams/stream.hpp> + diff --git a/games-strategy/wesnoth/wesnoth-1.18.0.ebuild b/games-strategy/wesnoth/wesnoth-1.18.0.ebuild index ba33c9b827a8..1843a5985958 100644 --- a/games-strategy/wesnoth/wesnoth-1.18.0.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.18.0.ebuild @@ -43,6 +43,10 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/wesnoth-1.18.0-boost-1.85.patch +) + src_prepare() { cmake_src_prepare
