diff options
author | Sam James <sam@gentoo.org> | 2021-06-14 12:46:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-14 12:46:50 +0000 |
commit | 068d3cff008f530abe5a6c8d7daeabdc9b805387 (patch) | |
tree | fa634401d04fb4341e1805a3084877527a2ee36c /app-office | |
parent | app-admin/ansible-molecule: initial import (diff) | |
download | gentoo-068d3cff008f530abe5a6c8d7daeabdc9b805387.tar.gz gentoo-068d3cff008f530abe5a6c8d7daeabdc9b805387.tar.bz2 gentoo-068d3cff008f530abe5a6c8d7daeabdc9b805387.zip |
app-office/ledger: fix build with Boost 1.76
Closes: https://bugs.gentoo.org/790176
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-office')
-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 |