Created attachment 268310 [details] Git diff patch Apache bRPC is an industrial-grade RPC framework written in C++, widely used in high-performance systems such as search, storage, machine learning, and recommendation engines. It is a top-level Apache project. devel/brpc is a dependency to the db/doris (Apache Doris) port I am working on. There are 23 patch files for FreeBSD platform support and they have been submitted upstream to apache/brpc as three separate PRs: - https://github.com/apache/brpc/pull/3223 — Remove dead tracked_objects.h references - https://github.com/apache/brpc/pull/3224 — FreeBSD platform support - https://github.com/apache/brpc/pull/3225 — FreeBSD CI workflow + glog 0.7.x compatibility The time frame for getting these patches merged and shipped in the next brpc release is unknown and probably not guaranteed. I didn't want delay the port due to that, which is why I am submitting it now. Test results: - Builds cleanly with poudriere on FreeBSD 15.0, 14.3, and 13.5 - portclippy exits 0 - portlint: 0 fatal errors
Created attachment 268311 [details] Git diff patch Uploaded incorrect version of the diff
Committed, thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4a400be07ce2161f12997a32a11c3cf46a9dde5 commit a4a400be07ce2161f12997a32a11c3cf46a9dde5 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2026-05-01 14:22:23 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2026-05-01 14:23:23 +0000 devel/brpc: add new ports. PR: 293396 devel/Makefile | 1 + devel/brpc/Makefile (new) | 41 ++ devel/brpc/distinfo (new) | 3 + devel/brpc/files/patch-CMakeLists.txt (new) | 49 ++ .../brpc/files/patch-src_brpc_controller.cpp (new) | 11 + .../patch-src_brpc_event__dispatcher.cpp (new) | 11 + ...c_brpc_policy_domain__naming__service.cpp (new) | 11 + devel/brpc/files/patch-src_brpc_socket.cpp (new) | 124 +++++ devel/brpc/files/patch-src_bthread_context.h (new) | 18 + devel/brpc/files/patch-src_bthread_errno.cpp (new) | 11 + devel/brpc/files/patch-src_bthread_fd.cpp (new) | 92 ++++ devel/brpc/files/patch-src_bthread_mutex.cpp (new) | 15 + .../files/patch-src_bthread_sys__futex.cpp (new) | 11 + .../files/patch-src_bthread_sys__futex.h (new) | 11 + .../patch-src_bthread_task__control.cpp (new) | 17 + .../files/patch-src_bthread_task__group.cpp (new) | 20 + devel/brpc/files/patch-src_butil_compat.h (new) | 22 + ...-src_butil_details_extended__endpoint.hpp (new) | 20 + .../brpc/files/patch-src_butil_endpoint.cpp (new) | 38 ++ devel/brpc/files/patch-src_butil_errno.cpp (new) | 20 + .../files/patch-src_butil_fd__utility.cpp (new) | 29 ++ devel/brpc/files/patch-src_butil_logging.cc (new) | 44 ++ devel/brpc/files/patch-src_butil_popen.cpp (new) | 12 + .../files/patch-src_butil_process__util.cc (new) | 38 ++ ...il_threading_platform__thread__freebsd.cc (new) | 18 + .../patch-src_bvar_default__variables.cpp (new) | 12 + devel/brpc/pkg-descr (new) | 9 + devel/brpc/pkg-plist (new) | 541 +++++++++++++++++++++ 28 files changed, 1249 insertions(+)