Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37761776
en ru br
Репозитории ALT
S:3.3.2-alt1
4.1: 2.6.0.90-alt1
www.altlinux.org/Changes

Группа :: Офис
Пакет: ledger

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.patch
Скачать


From 69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f 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
We were previously relying on an indirect include within Boost headers. We're
using scoped_ptr which is defined in <boost/smart_ptr/scoped_ptr.hpp>.
Bug: https://bugs.gentoo.org/790176
Closes: https://github.com/ledger/ledger/issues/2030
---
 src/expr.cc  | 2 ++
 src/format.h | 2 ++
 2 files changed, 4 insertions(+)
diff --git a/src/expr.cc b/src/expr.cc
index c8945d3da..c19bba98a 100644
--- 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()
diff --git a/src/format.h b/src/format.h
index 15431cf11..48c690bec 100644
--- 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;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin