> We need not only undef some macroses, but also revert it back,
That's new.
> Index: devel/protobuf/patches/patch-src_google_protobuf_port_def_inc
> ===================================================================
> RCS file: /home/cvs/ports/devel/protobuf/patches/patch-src_google_protobuf_port_def_inc,v
> diff -u -p -r1.7 patch-src_google_protobuf_port_def_inc
> --- devel/protobuf/patches/patch-src_google_protobuf_port_def_inc 18 Dec 2024 18:11:32 -0000 1.7
> +++ devel/protobuf/patches/patch-src_google_protobuf_port_def_inc 29 Mar 2025 12:35:43 -0000
> @@ -20,3 +20,12 @@ Index: src/google/protobuf/port_def.inc
> // Inconvenient macro names from /usr/include/mach/boolean.h in some macOS SDKs.
> #pragma push_macro("TRUE")
> #undef TRUE
> +@@ -794,7 +795,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
> + // TYPE_BOOL is defined in the MacOS's ConditionalMacros.h.
> + #pragma push_macro("TYPE_BOOL")
> + #undef TYPE_BOOL
> +-
No comments:
Post a Comment