mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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}"
|
||||
10
dev-db/duckdb/files/thrift-cstdint.patch
Normal file
10
dev-db/duckdb/files/thrift-cstdint.patch
Normal 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 {
|
||||
Reference in New Issue
Block a user