diff options
author | Kostadin Shishmanov <kocelfc@tutanota.com> | 2023-10-31 18:56:06 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-11-03 23:51:21 +0000 |
commit | 6f0e7fbdb25bc731c4b9d769c0bcb21e33aff004 (patch) | |
tree | e4ba63dd206599382afb940c306899218ff7cd2c /dev-libs/liborcus | |
parent | x11-libs/libXrandr: Stabilize 1.5.4 hppa, #916773 (diff) | |
download | gentoo-6f0e7fbdb25bc731c4b9d769c0bcb21e33aff004.tar.gz gentoo-6f0e7fbdb25bc731c4b9d769c0bcb21e33aff004.tar.bz2 gentoo-6f0e7fbdb25bc731c4b9d769c0bcb21e33aff004.zip |
dev-libs/liborcus: fix build with gcc 14
Closes: https://bugs.gentoo.org/916582
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/33609
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/liborcus')
-rw-r--r-- | dev-libs/liborcus/files/liborcus-0.17.2-gcc-14.patch | 21 | ||||
-rw-r--r-- | dev-libs/liborcus/liborcus-0.17.2-r1.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/liborcus/files/liborcus-0.17.2-gcc-14.patch b/dev-libs/liborcus/files/liborcus-0.17.2-gcc-14.patch new file mode 100644 index 000000000000..a8455c9dff71 --- /dev/null +++ b/dev-libs/liborcus/files/liborcus-0.17.2-gcc-14.patch @@ -0,0 +1,21 @@ +https://gitlab.com/orcus/orcus/-/commit/f5dca3b4f7c6ffda4b71e0ba9f7081ab2eec3405 +https://gitlab.com/orcus/orcus/-/issues/192 +https://bugs.gentoo.org/916582 + +From f5dca3b4f7c6ffda4b71e0ba9f7081ab2eec3405 Mon Sep 17 00:00:00 2001 +From: Kohei Yoshida <kohei.yoshida@gmail.com> +Date: Thu, 26 Oct 2023 22:09:30 -0400 +Subject: [PATCH] Attempt to fix a build failure with GCC 14 as reported in #192 + +diff --git a/src/spreadsheet/document.cpp b/src/spreadsheet/document.cpp +index 1cf240a..562be32 100644 +--- a/src/spreadsheet/document.cpp ++++ b/src/spreadsheet/document.cpp +@@ -32,6 +32,7 @@ + #include <fstream> + #include <sstream> + #include <map> ++#include <algorithm> + + using namespace std; + namespace fs = boost::filesystem; diff --git a/dev-libs/liborcus/liborcus-0.17.2-r1.ebuild b/dev-libs/liborcus/liborcus-0.17.2-r1.ebuild index 18b82b04bab9..bd813219cc60 100644 --- a/dev-libs/liborcus/liborcus-0.17.2-r1.ebuild +++ b/dev-libs/liborcus/liborcus-0.17.2-r1.ebuild @@ -39,6 +39,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-clang.patch "${FILESDIR}"/${P}-gcc-13.patch + "${FILESDIR}"/${P}-gcc-14.patch "${FILESDIR}"/${P}-python-optional.patch ) |