File: filesystem-directory.patch

package info (click to toggle)
innoextract 1.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: cpp: 12,230; python: 1,703; sh: 76; makefile: 9
file content (22 lines) | stat: -rw-r--r-- 720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
commit 264c2fe6b84f90f6290c670e5f676660ec7b2387
Author: Bernhard Rosenkränzer <bero@lindev.ch>
Date:   Thu Mar 28 15:11:40 2024 +0100

    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.

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"