aboutsummaryrefslogtreecommitdiff
path: root/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h')
-rw-r--r--devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h b/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h
new file mode 100644
index 000000000000..f5f1d9cb381a
--- /dev/null
+++ b/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h
@@ -0,0 +1,11 @@
+--- lib/cpp/src/thrift/protocol/TProtocol.h.orig 2025-08-24 09:28:32 UTC
++++ lib/cpp/src/thrift/protocol/TProtocol.h
+@@ -146,7 +146,7 @@ static inline To bitwise_cast(From from) {
+ # define THRIFT_ntohll(n) (n)
+ # define THRIFT_htonll(n) (n)
+ # endif
+-# if defined(__GNUC__) && defined(__GLIBC__)
++# if defined(__GNUC__)
+ # include <byteswap.h>
+ # define THRIFT_htolell(n) bswap_64(n)
+ # define THRIFT_letohll(n) bswap_64(n)