Bug: https://bugs.gentoo.org/933111 Patch: https://github.com/acaudwell/Gource/commit/79b967e0dc2a20725568492bc4fcab74a798a089 From 79b967e0dc2a20725568492bc4fcab74a798a089 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Thu, 25 Apr 2024 12:38:56 -0400 Subject: [PATCH] Fix build with Boost 1.85.0 Signed-off-by: Michael Cho --- src/gource_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gource_settings.cpp b/src/gource_settings.cpp index 27142599..e1ab42d3 100644 --- a/src/gource_settings.cpp +++ b/src/gource_settings.cpp @@ -833,7 +833,7 @@ void GourceSettings::importGourceSettings(ConfFile& conffile, ConfSection* gourc #else dirfile = p.filename().string(); #endif - std::string file_ext = extension(p); + std::string file_ext = p.extension().string(); boost::algorithm::to_lower(file_ext); if(file_ext != ".jpg" && file_ext != ".jpeg" && file_ext != ".png") continue;