diff options
Diffstat (limited to 'app-office/ledger')
-rw-r--r-- | app-office/ledger/files/ledger-3.2.1-fix-build-boost-1-76.patch | 28 | ||||
-rw-r--r-- | app-office/ledger/ledger-3.2.1.ebuild | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-office/ledger/files/ledger-3.2.1-fix-build-boost-1-76.patch b/app-office/ledger/files/ledger-3.2.1-fix-build-boost-1-76.patch new file mode 100644 index 000000000000..62d2d6095119 --- /dev/null +++ b/app-office/ledger/files/ledger-3.2.1-fix-build-boost-1-76.patch @@ -0,0 +1,28 @@ +From fa37f595b3c44dc7ac86b29d105ae6417c3e0080 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Mon, 14 Jun 2021 12:37:58 +0000 +Subject: [PATCH] Fix compilation with Boost 1.76 + +--- +--- a/src/expr.cc ++++ b/src/expr.cc +@@ -35,6 +35,8 @@ + #include "parser.h" + #include "scope.h" + ++#include <boost/smart_ptr/scoped_ptr.hpp> ++ + namespace ledger { + + expr_t::expr_t() : base_type() +--- a/src/format.h ++++ b/src/format.h +@@ -45,6 +45,8 @@ + #include "expr.h" + #include "unistring.h" + ++#include <boost/smart_ptr/scoped_ptr.hpp> ++ + namespace ledger { + + class unistring; diff --git a/app-office/ledger/ledger-3.2.1.ebuild b/app-office/ledger/ledger-3.2.1.ebuild index 467af5e0eb02..a17e0d29f874 100644 --- a/app-office/ledger/ledger-3.2.1.ebuild +++ b/app-office/ledger/ledger-3.2.1.ebuild @@ -42,6 +42,10 @@ DEPEND="${RDEPEND} ) " +PATCHES=( + "${FILESDIR}"/${PN}-3.2.1-fix-build-boost-1-76.patch +) + pkg_pretend() { if use python; then check-reqs_pkg_pretend |