ledger: rebuild for boost-1.80

This commit is contained in:
Đoàn Trần Công Danh 2022-08-26 17:00:35 +07:00
parent 7f7132ba80
commit b066a7554c
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,30 @@
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -134,7 +134,7 @@
#include <boost/algorithm/string.hpp>
#include <boost/any.hpp>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <boost/cast.hpp>
#include <boost/current_function.hpp>
@@ -184,6 +184,8 @@
#include <boost/regex.hpp>
#endif // HAVE_BOOST_REGEX_UNICODE
+#include <boost/scoped_ptr.hpp>
+
#include <boost/tokenizer.hpp>
#include <boost/tuple/tuple.hpp>
--- a/src/utils.h
+++ b/src/utils.h
@@ -81,6 +81,7 @@
namespace ledger {
using namespace boost;
+ using namespace boost::placeholders;
typedef std::string string;
typedef std::list<string> strings_list;

View File

@ -1,7 +1,7 @@
# Template file for 'ledger'
pkgname=ledger
version=3.2.1
revision=1
revision=2
build_style=cmake
makedepends="boost-devel gmp-devel mpfr-devel gettext-devel libedit-devel"
short_desc="Double-entry accounting system with a command-line reporting interface"