commit:     790d8f09f748c7b3b82a4fabc0a5e24bfb6d8a9f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 23 11:09:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 23 11:09:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790d8f09

app-arch/innoextract: fix build w/ boost-1.85.0

Closes: https://bugs.gentoo.org/930495
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/innoextract-1.9-boost-1.85.0.patch        | 21 +++++++++++++++++++++
 app-arch/innoextract/innoextract-1.9.ebuild         |  1 +
 2 files changed, 22 insertions(+)

diff --git a/app-arch/innoextract/files/innoextract-1.9-boost-1.85.0.patch 
b/app-arch/innoextract/files/innoextract-1.9-boost-1.85.0.patch
new file mode 100644
index 000000000000..23e4554fc53e
--- /dev/null
+++ b/app-arch/innoextract/files/innoextract-1.9-boost-1.85.0.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/930495
+https://github.com/dscharrer/innoextract/pull/169
+
+From 264c2fe6b84f90f6290c670e5f676660ec7b2387 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <[email protected]>
+Date: Thu, 28 Mar 2024 15:11:40 +0100
+Subject: [PATCH] Fix build with boost 1.85
+
+As of boost 1.85-beta1, boost/filesystem/directory.hpp is no longer
+implicitly included by boost/filesystem/operations.hpp. Include it
+explicitly.
+--- a/src/stream/slice.cpp
++++ b/src/stream/slice.cpp
+@@ -27,6 +27,7 @@
+ #include <boost/cstdint.hpp>
+ #include <boost/algorithm/string/predicate.hpp>
+ #include <boost/filesystem/operations.hpp>
++#include <boost/filesystem/directory.hpp>
+ #include <boost/range/size.hpp>
+ 
+ #include "util/console.hpp"

diff --git a/app-arch/innoextract/innoextract-1.9.ebuild 
b/app-arch/innoextract/innoextract-1.9.ebuild
index 4624b4a89e78..2259b5ffb6d3 100644
--- a/app-arch/innoextract/innoextract-1.9.ebuild
+++ b/app-arch/innoextract/innoextract-1.9.ebuild
@@ -22,6 +22,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.9-fix-linkage.patch"
+       "${FILESDIR}/${PN}-1.9-boost-1.85.0.patch"
 )
 
 src_configure() {

Reply via email to