diff options
author | Arsen Arsenović <arsen@gentoo.org> | 2024-06-14 12:41:28 +0200 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2024-06-14 13:09:16 +0200 |
commit | 100447c839c5d6826e089d0347d33ae3e965cd59 (patch) | |
tree | ed4b6a2e054350d9772c0e9c2c0f9be74cd8d65b /dev-util | |
parent | app-doc/eclass-manpages: drop 20240207, 20240229, 20240423 (diff) | |
download | gentoo-100447c839c5d6826e089d0347d33ae3e965cd59.tar.gz gentoo-100447c839c5d6826e089d0347d33ae3e965cd59.tar.bz2 gentoo-100447c839c5d6826e089d0347d33ae3e965cd59.zip |
dev-util/gource: fix build with boost 1.85
Closes: https://bugs.gentoo.org/933111
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/gource/files/gource-0.53-boost-1.85.patch | 26 | ||||
-rw-r--r-- | dev-util/gource/gource-0.53.ebuild | 6 |
2 files changed, 31 insertions, 1 deletions
diff --git a/dev-util/gource/files/gource-0.53-boost-1.85.patch b/dev-util/gource/files/gource-0.53-boost-1.85.patch new file mode 100644 index 000000000000..c7a10da39b63 --- /dev/null +++ b/dev-util/gource/files/gource-0.53-boost-1.85.patch @@ -0,0 +1,26 @@ +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 <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 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; diff --git a/dev-util/gource/gource-0.53.ebuild b/dev-util/gource/gource-0.53.ebuild index 6a0c9e75437d..3f0c25d396ef 100644 --- a/dev-util/gource/gource-0.53.ebuild +++ b/dev-util/gource/gource-0.53.ebuild @@ -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=8 @@ -36,6 +36,10 @@ BDEPEND="virtual/pkgconfig" DOCS=( README.md ChangeLog THANKS ) +PATCHES=( + "${FILESDIR}"/gource-0.53-boost-1.85.patch +) + src_prepare() { default |