File 0001-Fix-build-with-Boost-1.85.0.patch of Package gource
From d3b55348c152665374140280f52e429451265426 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Thu, 25 Apr 2024 12:38:56 -0400
Subject: [PATCH] Fix build with Boost 1.85.0
Signed-off-by: Michael Cho <michael@michaelcho.dev>
---
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 2714259..e1ab42d 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;
--
2.45.1