innoextract: update to boost 1.85

This commit is contained in:
Adrien Destugues
2024-08-11 21:16:19 +02:00
parent 7cee052bb2
commit edd0d6d5db
2 changed files with 27 additions and 4 deletions

View File

@@ -9,9 +9,10 @@ modified Inno Setup variants including Martijn Laan's My Inno Setup Extensions\
HOMEPAGE="https://constexpr.org/innoextract/"
COPYRIGHT="2011-2020 Daniel Scharrer"
LICENSE="Zlib"
REVISION="1"
REVISION="2"
SOURCE_URI="http://constexpr.org/innoextract/files/innoextract-$portVersion.tar.gz"
CHECKSUM_SHA256="6344a69fc1ed847d4ed3e272e0da5998948c6b828cb7af39c6321aba6cf88126"
PATCHES="innoextract-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
@@ -38,9 +39,9 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_filesystem$secondaryArchSuffix >= 1.70.0
devel:libboost_iostreams$secondaryArchSuffix >= 1.70.0
devel:libboost_program_options$secondaryArchSuffix >= 1.70.0
devel:libboost_filesystem$secondaryArchSuffix >= 1.85.0
devel:libboost_iostreams$secondaryArchSuffix >= 1.85.0
devel:libboost_program_options$secondaryArchSuffix >= 1.85.0
devel:libiconv$secondaryArchSuffix
devel:liblzma$secondaryArchSuffix
"

View File

@@ -0,0 +1,22 @@
From be06636dbadfc6a03b6c2cd7cfab4bc31790b897 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Sun, 11 Aug 2024 21:14:45 +0200
Subject: backport upstream patch for boost 1.85 compatibility
https://github.com/dscharrer/innoextract/commit/264c2fe6b84f90f6290c670e5f676660ec7b2387
diff --git a/src/stream/slice.cpp b/src/stream/slice.cpp
index 12468a3..f7ebe0e 100644
--- 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"
--
2.45.2