diff --git a/dev-db/duckdb/duckdb-1.2.2.ebuild b/dev-db/duckdb/duckdb-1.2.2-r1.ebuild similarity index 81% rename from dev-db/duckdb/duckdb-1.2.2.ebuild rename to dev-db/duckdb/duckdb-1.2.2-r1.ebuild index d1cdf950958fa..e98b466b9339d 100644 --- a/dev-db/duckdb/duckdb-1.2.2.ebuild +++ b/dev-db/duckdb/duckdb-1.2.2-r1.ebuild @@ -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}" diff --git a/dev-db/duckdb/files/thrift-cstdint.patch b/dev-db/duckdb/files/thrift-cstdint.patch new file mode 100644 index 0000000000000..af47df814445a --- /dev/null +++ b/dev-db/duckdb/files/thrift-cstdint.patch @@ -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 + #include ++#include + + namespace duckdb_apache { + namespace thrift {