File: boost1.85.patch

package info (click to toggle)
schroot 1.6.13-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,808 kB
  • sloc: cpp: 21,760; sh: 1,019; ansic: 231; makefile: 77
file content (48 lines) | stat: -rw-r--r-- 1,303 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description: Fix build with Boost 1.85
Origin: gentoo, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3adaac9a6baaea72b2d82afec290967f0f422a94
Origin: gentoo, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea64cae86be274cc971174379926db8f3415411
Bug-Debian: https://bugs.debian.org/1110659
Author: Sam James <sam@gentoo.org>
Last-Update: 2024-07-12

--- a/sbuild/sbuild-chroot-config.cc
+++ b/sbuild/sbuild-chroot-config.cc
@@ -31,6 +31,7 @@
 #include <cstdlib>
 #include <cstring>
 
+#include <boost/filesystem/directory.hpp>
 #include <boost/filesystem/operations.hpp>
 
 #include <sys/types.h>
--- a/sbuild/sbuild-run-parts.cc
+++ b/sbuild/sbuild-run-parts.cc
@@ -29,6 +29,7 @@
 #include <syslog.h>
 
 #include <boost/format.hpp>
+#include <boost/filesystem/directory.hpp>
 #include <boost/filesystem/operations.hpp>
 
 using boost::format;
--- a/sbuild/sbuild-util.cc
+++ b/sbuild/sbuild-util.cc
@@ -35,8 +35,6 @@
 #include <time.h>
 #endif
 
-#include <boost/filesystem/convenience.hpp>
-
 using namespace sbuild;
 
 namespace
--- a/test/sbuild-run-parts.cc
+++ b/test/sbuild-run-parts.cc
@@ -23,6 +23,7 @@
 #include <iostream>
 #include <sstream>
 
+#include <boost/filesystem/exception.hpp>
 #include <boost/filesystem/operations.hpp>
 
 #include <cppunit/extensions/HelperMacros.h>