From b066a7554c29e1debdca7628ecaf2f628aedf2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 26 Aug 2022 17:00:35 +0700 Subject: [PATCH] ledger: rebuild for boost-1.80 --- srcpkgs/ledger/patches/boost-1.80.patch | 30 +++++++++++++++++++++++++ srcpkgs/ledger/template | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ledger/patches/boost-1.80.patch diff --git a/srcpkgs/ledger/patches/boost-1.80.patch b/srcpkgs/ledger/patches/boost-1.80.patch new file mode 100644 index 00000000000..b5916138849 --- /dev/null +++ b/srcpkgs/ledger/patches/boost-1.80.patch @@ -0,0 +1,30 @@ +--- a/src/system.hh.in ++++ b/src/system.hh.in +@@ -134,7 +134,7 @@ + + #include + #include +-#include ++#include + #include + #include + +@@ -184,6 +184,8 @@ + #include + #endif // HAVE_BOOST_REGEX_UNICODE + ++#include ++ + #include + + #include +--- 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 strings_list; diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template index c94b72709de..130c727e776 100644 --- a/srcpkgs/ledger/template +++ b/srcpkgs/ledger/template @@ -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"