* [gentoo-commits] repo/gentoo:master commit in: dev-util/gource/, dev-util/gource/files/
@ 2024-06-14 11:12 Arsen Arsenović
0 siblings, 0 replies; only message in thread
From: Arsen Arsenović @ 2024-06-14 11:12 UTC (permalink / raw
To: gentoo-commits
commit: 100447c839c5d6826e089d0347d33ae3e965cd59
Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 10:41:28 2024 +0000
Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 11:09:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100447c8
dev-util/gource: fix build with boost 1.85
Closes: https://bugs.gentoo.org/933111
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>
dev-util/gource/files/gource-0.53-boost-1.85.patch | 26 ++++++++++++++++++++++
dev-util/gource/gource-0.53.ebuild | 6 ++++-
2 files changed, 31 insertions(+), 1 deletion(-)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-14 11:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 11:12 [gentoo-commits] repo/gentoo:master commit in: dev-util/gource/, dev-util/gource/files/ Arsen Arsenović
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox