schroot: add boost-1.85 compatibility patch
authorJavier Marcet <javier@marcet.info>
Mon, 24 Jun 2024 15:32:10 +0000 (17:32 +0200)
committerRosen Penev <rosenp@gmail.com>
Sun, 27 Oct 2024 23:10:10 +0000 (16:10 -0700)
Signed-off-by: Javier Marcet <javier@marcet.info>
admin/schroot/Makefile
admin/schroot/patches/030-boost-1.85.patch [new file with mode: 0644]

index d769e5dc7da405f9236b11603bc41a79c71fb329..1d175bd62c174cc230dec875d190671a211e86d0 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=reschroot
 PKG_VERSION:=1.6.13
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeberg.org/shelter/reschroot/archive/release
diff --git a/admin/schroot/patches/030-boost-1.85.patch b/admin/schroot/patches/030-boost-1.85.patch
new file mode 100644 (file)
index 0000000..6272c91
--- /dev/null
@@ -0,0 +1,31 @@
+--- 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