summaryrefslogtreecommitdiff
path: root/devel/thrift-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/thrift-cpp')
-rw-r--r--devel/thrift-cpp/Makefile4
-rw-r--r--devel/thrift-cpp/files/patch-lib_cpp_src_thrift_protocol_TProtocol.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/thrift-cpp/Makefile b/devel/thrift-cpp/Makefile
index d09a41ef6f11..48877f5bcffe 100644
--- a/devel/thrift-cpp/Makefile
+++ b/devel/thrift-cpp/Makefile
@@ -1,6 +1,5 @@
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
-PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE/thrift/${PORTVERSION}
@@ -11,8 +10,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= C++ interface to Thrift
WWW= https://thrift.apache.org/
-BROKEN_i386= undefined reference to 'boost::atomics::detail::lockpool::scoped_lock::scoped_lock(void const volatile*)'
-
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libevent.so:devel/libevent
@@ -24,7 +21,6 @@ USE_LDCONFIG= yes
CMAKE_ON= BUILD_CPP
CMAKE_OFF= BUILD_C_GLIB BUILD_JAVA BUILD_JAVASCRIPT BUILD_NODEJS BUILD_PYTHON BUILD_HASKELL BUILD_TESTING
-MAKE_JOBS_UNSAFE= yes
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
PLIST_SUB= PORTVERSION="${THRIFT_PORTVERSION}"
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)