mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 02:52:58 +02:00
schroot: for boost-1.88
This commit is contained in:
parent
499d15606c
commit
9108c89316
2 changed files with 57 additions and 2 deletions
54
srcpkgs/schroot/patches/boost-1.88.patch
Normal file
54
srcpkgs/schroot/patches/boost-1.88.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
--- a/sbuild/sbuild-basic-keyfile.tcc
|
||||
+++ b/sbuild/sbuild-basic-keyfile.tcc
|
||||
@@ -214,7 +214,7 @@ sbuild::basic_keyfile<K, P>::get_locale_
|
||||
}
|
||||
catch (std::runtime_error const& e) // Invalid locale
|
||||
{
|
||||
- localename = std::locale::classic();
|
||||
+ localename = std::locale::classic().name();
|
||||
}
|
||||
std::string::size_type pos;
|
||||
bool status = false;
|
||||
--- a/sbuild/sbuild-chroot-config.cc
|
||||
+++ b/sbuild/sbuild-chroot-config.cc
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
-#include <boost/filesystem/operations.hpp>
|
||||
+#include <boost/filesystem.hpp>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.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.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
|
||||
using boost::format;
|
||||
--- a/sbuild/sbuild-util.cc
|
||||
+++ b/sbuild/sbuild-util.cc
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
-#include <boost/filesystem/convenience.hpp>
|
||||
+#include <boost/filesystem.hpp>
|
||||
|
||||
using namespace sbuild;
|
||||
|
||||
--- a/test/sbuild-run-parts.cc
|
||||
+++ b/test/sbuild-run-parts.cc
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
-#include <boost/filesystem/operations.hpp>
|
||||
+#include <boost/filesystem.hpp>
|
||||
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=schroot
|
||||
reverts="1.7.2_9"
|
||||
version=1.6.10
|
||||
revision=16
|
||||
revision=17
|
||||
_debian_version=12+deb11u1
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
|
@ -42,7 +42,8 @@ make_dirs="
|
|||
/var/lib/schroot/mount 0755 root root
|
||||
/etc/schroot/chroot.d 0755 root root"
|
||||
hostmakedepends="pkg-config libtool gettext xz po4a groff"
|
||||
makedepends="boost-devel pam-devel lockdev-devel libuuid-devel e2fsprogs-devel
|
||||
makedepends="boost-devel-minimal libboost_filesystem libboost_program_options
|
||||
libboost_iostreams pam-devel lockdev-devel libuuid-devel e2fsprogs-devel
|
||||
gettext-devel libcppunit-devel"
|
||||
short_desc="Allows users to execute commands in different chroots"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
|
|
Loading…
Add table
Reference in a new issue