Skip to content

Commit

Permalink
schroot: add boost-1.85 compatibility patch
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Marcet <[email protected]>
  • Loading branch information
jmarcet authored and neheb committed Oct 27, 2024
1 parent 8fca946 commit c488c16
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/schroot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
31 changes: 31 additions & 0 deletions admin/schroot/patches/030-boost-1.85.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c488c16

Please sign in to comment.