diff --git a/package/thrift/0001-Add-cstddef-include-to-fix-build-error-with-6.3.0.patch b/package/thrift/0001-Add-cstddef-include-to-fix-build-error-with-6.3.0.patch new file mode 100644 index 0000000000..f59454c3d1 --- /dev/null +++ b/package/thrift/0001-Add-cstddef-include-to-fix-build-error-with-6.3.0.patch @@ -0,0 +1,33 @@ +From ca2c2467c78d9140a7e260727cd3305bf3decd09 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 4 Sep 2026 19:49:59 +0200 +Subject: [PATCH] Add cstddef include to fix build error with 6.3.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +thrift-0.24.0/lib/cpp/src/thrift/transport/TBufferTransports.h:110:32: + error: ‘ptrdiff_t’ does not name a type + +Upstream: https://github.com/apache/thrift/pull/3801 + +Signed-off-by: Bernd Kuhls +--- + lib/cpp/src/thrift/transport/TBufferTransports.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/cpp/src/thrift/transport/TBufferTransports.h b/lib/cpp/src/thrift/transport/TBufferTransports.h +index b78e457b3..b0447b0bc 100644 +--- a/lib/cpp/src/thrift/transport/TBufferTransports.h ++++ b/lib/cpp/src/thrift/transport/TBufferTransports.h +@@ -20,6 +20,7 @@ + #ifndef _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ + #define _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ 1 + ++#include + #include + #include + #include +-- +2.47.3 + diff --git a/package/thrift/thrift.hash b/package/thrift/thrift.hash index 406c65fd25..187fd15c50 100644 --- a/package/thrift/thrift.hash +++ b/package/thrift/thrift.hash @@ -1,4 +1,4 @@ -# From https://downloads.apache.org/thrift/0.23.0/thrift-0.23.0.tar.gz.sha256 -sha256 1859d932d2ae1f13d16c5a196931208c116310a5ff50f2bfd11d3db03be8f46f thrift-0.23.0.tar.gz +# From https://downloads.apache.org/thrift/0.24.0/thrift-0.24.0.tar.gz.sha256 +sha256 e0fa5839a4c5c1d631b0931cf2c554ebbfa4e2fee3a9fb3ffd4f82ce4396c6e4 thrift-0.24.0.tar.gz # License files, locally calculated sha256 89aa7b27868669299bd8a6c53b72ec4beadce42dad6c8336797cc26e1e8df98d LICENSE diff --git a/package/thrift/thrift.mk b/package/thrift/thrift.mk index 34f4671239..a517dd5035 100644 --- a/package/thrift/thrift.mk +++ b/package/thrift/thrift.mk @@ -4,7 +4,7 @@ # ################################################################################ -THRIFT_VERSION = 0.23.0 +THRIFT_VERSION = 0.24.0 THRIFT_SITE = https://downloads.apache.org/thrift/$(THRIFT_VERSION) THRIFT_LICENSE = Apache-2.0, Public Domain (sha256.h) THRIFT_LICENSE_FILES = LICENSE