games-action/violetland: fix build with boost-1.85

Closes: https://bugs.gentoo.org/932778
Thanks-to: Torsten Kaiser
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-05-26 07:33:57 -04:00
parent 5bdd723aa0
commit ea2c31177a
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
https://bugs.gentoo.org/932778
--- a/src/game/Highscores.cpp
+++ b/src/game/Highscores.cpp
@@ -107,3 +107,3 @@
boost::filesystem::copy_file(hsTempFile, hsFile,
- boost::filesystem::copy_option::overwrite_if_exists);
+ boost::filesystem::copy_options::overwrite_existing);
boost::filesystem::remove(hsTempFile);

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,6 +28,10 @@ BDEPEND="
sys-devel/gettext
"
PATCHES=(
"${FILESDIR}"/${P}-boost1.85.patch
)
src_prepare() {
cmake_src_prepare