Skip to content
Snippets Groups Projects
Commit 36190203 authored by Dima Panov's avatar Dima Panov
Browse files

finance/ledger: Fix build with boost 1.79.0 (+)

PR:	264330
parent aa834582
No related merge requests found
......@@ -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 -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment