From e0547a611e347e572df63466198042cf4345740c Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Wed, 1 May 2024 15:03:19 +0900 Subject: [PATCH] frogatto/anura-engine: fix build The build failed with ```console Building: src/filesystem.cpp src/filesystem.cpp: In function 'void sys::copy_file(const std::string&, const std::string&)': src/filesystem.cpp:221:26: error: 'bool boost::filesystem::copy_file(const path&, const path&, copy_option)' is deprecated: Use copy_options instead of copy_option [-Werror=deprecated-declarations] 221 | copy_file(path(from), path(to), copy_option::fail_if_exists); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/boost/filesystem.hpp:19, from src/filesystem.cpp:47: include/boost/filesystem/operations.hpp:423:13: note: declared here ``` --- pkgs/games/frogatto/engine.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/frogatto/engine.nix b/pkgs/games/frogatto/engine.nix index 24b56183f378..d5e380588176 100644 --- a/pkgs/games/frogatto/engine.nix +++ b/pkgs/games/frogatto/engine.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation { glm ]; - env.CXXFLAGS = "-DGLM_ENABLE_EXPERIMENTAL"; + env.CXXFLAGS = "-DGLM_ENABLE_EXPERIMENTAL -Wno-error=deprecated-declarations"; enableParallelBuilding = true;