mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/schroot: fix build w/ boost-1.85.0
I haven't sent a PR upstream as our last few are rotting. Closes: https://bugs.gentoo.org/930499 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
32
dev-util/schroot/files/schroot-1.16.13_p2-boost-1.85.0.patch
Normal file
32
dev-util/schroot/files/schroot-1.16.13_p2-boost-1.85.0.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
https://bugs.gentoo.org/930499
|
||||
--- 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
|
||||
@@ -53,6 +53,8 @@ PATCHES=(
|
||||
|
||||
# https://codeberg.org/shelter/reschroot/pulls/6
|
||||
"${FILESDIR}"/${PN}-1.6.13-resize-reserve.patch
|
||||
|
||||
"${FILESDIR}"/${PN}-1.16.13_p2-boost-1.85.0.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
|
||||
Reference in New Issue
Block a user