dev-db/duckdb: Fix build with gcc15

Closes: https://bugs.gentoo.org/949694
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
Patrick Lauer
2025-05-15 07:12:03 +00:00
parent f5d77f382c
commit a74848a0bc
2 changed files with 18 additions and 0 deletions

View File

@@ -17,6 +17,14 @@ KEYWORDS="~amd64"
RESTRICT="test"
src_prepare() {
cd third_party/thrift/thrift/transport/
eapply "${FILESDIR}/thrift-cstdint.patch"
cd ${S}
eapply_user
cmake_src_prepare
}
src_configure() {
mycmakeargs=( "-DINSTALL_LIB_DIR=/usr/$(get_libdir)/"
"-DOVERRIDE_GIT_DESCRIBE=v${PV}"

View File

@@ -0,0 +1,10 @@
--- a/TTransport.h 2025-04-07 09:28:46.000000000 -0000
+++ b/TTransport.h 2025-05-15 07:01:41.119463408 -0000
@@ -24,6 +24,7 @@
#include "thrift/transport/TTransportException.h"
#include <memory>
#include <string>
+#include <cstdint>
namespace duckdb_apache {
namespace thrift {