diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-11-25 03:07:51 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-11-25 03:08:42 +0100 |
commit | 228539e421268babedc083264887541e99204689 (patch) | |
tree | 026a4143d01e9d1e0d1c778d762429c7933df0f5 /dev-libs/apache-arrow | |
parent | dev-util/promu: Disable pie for x86 (diff) | |
download | gentoo-228539e421268babedc083264887541e99204689.tar.gz gentoo-228539e421268babedc083264887541e99204689.tar.bz2 gentoo-228539e421268babedc083264887541e99204689.zip |
dev-libs/apache-arrow: fix build with gcc:14
Closes: https://bugs.gentoo.org/917681
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs/apache-arrow')
-rw-r--r-- | dev-libs/apache-arrow/apache-arrow-14.0.1.ebuild | 5 | ||||
-rw-r--r-- | dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/dev-libs/apache-arrow/apache-arrow-14.0.1.ebuild b/dev-libs/apache-arrow/apache-arrow-14.0.1.ebuild index d5fbf06edf70..1efaeb5c1772 100644 --- a/dev-libs/apache-arrow/apache-arrow-14.0.1.ebuild +++ b/dev-libs/apache-arrow/apache-arrow-14.0.1.ebuild @@ -63,7 +63,10 @@ REQUIRED_USE=" ssl? ( json ) " -PATCHES=( "${FILESDIR}/${PN}-11.0.0-shared-lz4.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-11.0.0-shared-lz4.patch" + "${FILESDIR}"/${P}-gcc14.patch +) src_prepare() { # use Gentoo CXXFLAGS, specify docdir at src_configure. diff --git a/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch b/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch new file mode 100644 index 000000000000..ccaf8cff0e98 --- /dev/null +++ b/dev-libs/apache-arrow/files/apache-arrow-14.0.1-gcc14.patch @@ -0,0 +1,10 @@ +--- a/src/arrow/filesystem/util_internal.cc 2023-11-23 17:13:03.062791581 +0100 ++++ b/src/arrow/filesystem/util_internal.cc 2023-11-23 17:13:22.441459075 +0100 +@@ -18,6 +18,7 @@ + #include "arrow/filesystem/util_internal.h" + + #include <cerrno> ++#include <algorithm> + + #include "arrow/buffer.h" + #include "arrow/filesystem/path_util.h" |