2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

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

Closes: https://bugs.gentoo.org/930495
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-04-23 12:09:01 +01:00
parent d2021c647d
commit 790d8f09f7
2 changed files with 22 additions and 0 deletions

View File

@@ -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?= <bero@lindev.ch>
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"

View File

@@ -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() {