summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2024-05-21 23:15:19 -0500
committerErik Mackdanz <stasibear@gentoo.org>2024-05-21 23:15:19 -0500
commitaa3771f490b4ce89726b779774a7c6641b8940ce (patch)
treeac2e81330483c21df03fccce2b5df721cafcddd7 /app-office
parentdev-util/mingw64-toolchain: fix ICE with -fno-omit-frame-pointer (diff)
downloadgentoo-aa3771f490b4ce89726b779774a7c6641b8940ce.tar.gz
gentoo-aa3771f490b4ce89726b779774a7c6641b8940ce.tar.bz2
gentoo-aa3771f490b4ce89726b779774a7c6641b8940ce.zip
app-office/ledger: fix boost error
Closes: https://bugs.gentoo.org/932238 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/ledger/files/convenience.patch10
-rw-r--r--app-office/ledger/ledger-3.3.2-r1.ebuild3
2 files changed, 13 insertions, 0 deletions
diff --git a/app-office/ledger/files/convenience.patch b/app-office/ledger/files/convenience.patch
new file mode 100644
index 000000000000..998d248c0932
--- /dev/null
+++ b/app-office/ledger/files/convenience.patch
@@ -0,0 +1,10 @@
+--- a/src/system.hh.in 2024-05-21 22:50:15.026661018 -0500
++++ b/src/system.hh.in 2024-05-21 22:50:43.466824215 -0500
+@@ -144,7 +144,6 @@
+ #include <boost/date_time/posix_time/posix_time_io.hpp>
+ #include <boost/date_time/gregorian/gregorian_io.hpp>
+
+-#include <boost/filesystem/convenience.hpp>
+ #include <boost/filesystem/exception.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/filesystem/operations.hpp>
diff --git a/app-office/ledger/ledger-3.3.2-r1.ebuild b/app-office/ledger/ledger-3.3.2-r1.ebuild
index 3f77c0eb287b..709f0d908539 100644
--- a/app-office/ledger/ledger-3.3.2-r1.ebuild
+++ b/app-office/ledger/ledger-3.3.2-r1.ebuild
@@ -67,6 +67,9 @@ src_prepare() {
mv doc/ledger{3,}.texi || die "Failed to rename info file name"
rm -r lib/utfcpp || die
+
+ eapply "${FILESDIR}/convenience.patch"
+ eapply_user
}
src_configure() {