git: 361902032407 - main - finance/ledger: Fix build with boost 1.79.0 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 May 2022 06:00:55 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=361902032407c73252eed5b44c18d5c527910966 commit 361902032407c73252eed5b44c18d5c527910966 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-05-30 05:57:10 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-05-30 05:57:10 +0000 finance/ledger: Fix build with boost 1.79.0 (+) PR: 264330 --- finance/ledger/Makefile | 3 +-- finance/ledger/files/patch-system.hh.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile index 6a6c16e33217..433bd84cb9fa 100644 --- a/finance/ledger/Makefile +++ b/finance/ledger/Makefile @@ -2,7 +2,7 @@ PORTNAME= ledger PORTVERSION= 3.2.1 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= finance @@ -13,7 +13,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: ibledger.so.3: undefined reference to boost::match_results -BROKEN= error: no template named 'scoped_ptr' BUILD_DEPENDS= ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp LIB_DEPENDS= libgmp.so:math/gmp \ diff --git a/finance/ledger/files/patch-system.hh.in b/finance/ledger/files/patch-system.hh.in new file mode 100644 index 000000000000..00d27252f9e6 --- /dev/null +++ b/finance/ledger/files/patch-system.hh.in @@ -0,0 +1,11 @@ +diff -ruN ledger-3.2.1/src/system.hh.in ledger-3.2.1-patched/src/system.hh.in +--- src/system.hh.in.orig 2020-05-18 00:30:10.000000000 -0500 ++++ src/system.hh.in 2022-05-29 08:49:10.857528000 -0500 +@@ -153,6 +153,7 @@ + #include <boost/function.hpp> + + #include <boost/intrusive_ptr.hpp> ++#include <boost/smart_ptr/scoped_ptr.hpp> + + #include <boost/iostreams/stream.hpp> + #include <boost/iostreams/write.hpp>