# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= protobuf VERSION= 25.3 KEYWORDS= devel VARIANTS= standard SDESC[standard]= Google's data interchange format HOMEPAGE= https://github.com/google/protobuf CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/google:protobuf:v25.3 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= complete primary dev OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= abseil-cpp:dev:standard BUILDRUN_DEPENDS= abseil-cpp:primary:standard EXRUN[dev]= abseil-cpp:dev:standard USES= cpe cmake pkgconfig zlib c++:primary LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/LICENSE LICENSE_SCHEME= solo CPE_VENDOR= google FPC_EQUIVALENT= devel/protobuf PLIST_SUB= PROTOCVER=25.3.0 LDFLAGS= -fuse-ld=bfd CMAKE_ARGS= -Dprotobuf_BUILD_TESTS:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -Dprotobuf_ABSL_PROVIDER:STRING=package post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/protoc [FILE:186:descriptions/desc.primary] Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. [FILE:106:distinfo] d19643d265b978383352b3143f04c0641eea75a75235c111cc01a1350173180e 5878962 google-protobuf-25.3.tar.gz [FILE:133:manifests/plist.primary] bin/ protoc protoc-%%PROTOCVER%% lib/ libprotobuf-lite.so.%%PROTOCVER%% libprotobuf.so.%%PROTOCVER%% libprotoc.so.%%PROTOCVER%% [FILE:5145:manifests/plist.dev] include/ utf8_range.h utf8_validity.h include/google/protobuf/ any.h any.pb.h any.proto api.pb.h api.proto arena.h arena_align.h arena_allocation_policy.h arena_cleanup.h arenastring.h arenaz_sampler.h cpp_edition_defaults.h cpp_features.pb.h cpp_features.proto descriptor.h descriptor.pb.h descriptor.proto descriptor_database.h descriptor_legacy.h descriptor_visitor.h duration.pb.h duration.proto dynamic_message.h empty.pb.h empty.proto endian.h explicitly_constructed.h extension_set.h extension_set_inl.h feature_resolver.h field_access_listener.h field_mask.pb.h field_mask.proto generated_enum_reflection.h generated_enum_util.h generated_message_bases.h generated_message_reflection.h generated_message_tctable_decl.h generated_message_tctable_gen.h generated_message_tctable_impl.h generated_message_util.h has_bits.h implicit_weak_message.h inlined_string_field.h internal_message_util.h internal_visibility.h map.h map_entry.h map_field.h map_field_inl.h map_field_lite.h map_type_handler.h message.h message_lite.h metadata.h metadata_lite.h parse_context.h port.h port_def.inc port_undef.inc raw_ptr.h reflection.h reflection_internal.h reflection_mode.h reflection_ops.h repeated_field.h repeated_ptr_field.h serial_arena.h service.h source_context.pb.h source_context.proto string_block.h struct.pb.h struct.proto text_format.h thread_safe_arena.h timestamp.pb.h timestamp.proto type.pb.h type.proto unknown_field_set.h varint_shuffle.h wire_format.h wire_format_lite.h wrappers.pb.h wrappers.proto include/google/protobuf/compiler/ code_generator.h command_line_interface.h importer.h parser.h plugin.h plugin.pb.h plugin.proto retention.h scc.h subprocess.h versions.h versions_suffix.h zip_writer.h include/google/protobuf/compiler/allowlists/ allowlist.h allowlists.h include/google/protobuf/compiler/cpp/ enum.h extension.h field.h file.h generator.h helpers.h message.h message_layout_helper.h names.h options.h padding_optimizer.h parse_function_generator.h service.h tracker.h include/google/protobuf/compiler/cpp/field_generators/generators.h include/google/protobuf/compiler/csharp/ csharp_doc_comment.h csharp_enum.h csharp_enum_field.h csharp_field_base.h csharp_generator.h csharp_helpers.h csharp_map_field.h csharp_message.h csharp_message_field.h csharp_options.h csharp_primitive_field.h csharp_reflection_class.h csharp_repeated_enum_field.h csharp_repeated_message_field.h csharp_repeated_primitive_field.h csharp_source_generator_base.h csharp_wrapper_field.h names.h include/google/protobuf/compiler/java/ context.h doc_comment.h enum.h enum_field.h enum_field_lite.h enum_lite.h extension.h extension_lite.h field.h file.h generator.h generator_factory.h helpers.h java_features.pb.h kotlin_generator.h map_field.h map_field_lite.h message.h message_builder.h message_builder_lite.h message_field.h message_field_lite.h message_lite.h message_serialization.h name_resolver.h names.h options.h primitive_field.h primitive_field_lite.h service.h shared_code_generator.h string_field.h string_field_lite.h include/google/protobuf/compiler/objectivec/ enum.h enum_field.h extension.h field.h file.h generator.h helpers.h import_writer.h line_consumer.h map_field.h message.h message_field.h names.h nsobject_methods.h oneof.h options.h primitive_field.h text_format_decode_data.h include/google/protobuf/compiler/php/ names.h php_generator.h include/google/protobuf/compiler/python/ generator.h helpers.h pyi_generator.h include/google/protobuf/compiler/ruby/ruby_generator.h include/google/protobuf/compiler/rust/ context.h generator.h message.h naming.h oneof.h relative_path.h include/google/protobuf/compiler/rust/accessors/ accessor_generator.h accessors.h include/google/protobuf/io/ coded_stream.h gzip_stream.h io_win32.h printer.h strtod.h tokenizer.h zero_copy_sink.h zero_copy_stream.h zero_copy_stream_impl.h zero_copy_stream_impl_lite.h include/google/protobuf/json/json.h include/google/protobuf/json/internal/ descriptor_traits.h lexer.h message_path.h parser.h parser_traits.h unparser.h unparser_traits.h untyped_message.h writer.h zero_copy_buffered_stream.h include/google/protobuf/stubs/ callback.h common.h platform_macros.h port.h status_macros.h include/google/protobuf/util/ delimited_message_util.h field_comparator.h field_mask_util.h json_util.h message_differencer.h time_util.h type_resolver.h type_resolver_util.h include/java/core/src/main/java/com/google/protobuf/java_features.proto lib/ libprotobuf-lite.so libprotobuf.so libprotoc.so libutf8_range.a libutf8_validity.a lib/cmake/protobuf/ protobuf-config-version.cmake protobuf-config.cmake protobuf-generate.cmake protobuf-module.cmake protobuf-options.cmake protobuf-targets-release.cmake protobuf-targets.cmake lib/cmake/utf8_range/ utf8_range-config.cmake utf8_range-targets-release.cmake utf8_range-targets.cmake lib/pkgconfig/ protobuf-lite.pc protobuf.pc utf8_range.pc [FILE:659:patches/patch-src_google_protobuf_compiler_command__line__interface.cc] --- src/google/protobuf/compiler/command_line_interface.cc.orig 2024-01-08 21:55:28 UTC +++ src/google/protobuf/compiler/command_line_interface.cc @@ -55,7 +55,7 @@ #if defined(__APPLE__) #include -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) #include #endif @@ -206,7 +206,7 @@ bool GetProtocAbsolutePath(std::string* realpath(dirtybuffer, buffer); len = strlen(buffer); } -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) char buffer[PATH_MAX]; size_t len = PATH_MAX; int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; [FILE:1333:patches/patch-src_google_protobuf_stubs_port.h] --- src/google/protobuf/stubs/port.h.orig 2024-01-08 21:55:28 UTC +++ src/google/protobuf/stubs/port.h @@ -38,12 +38,14 @@ #else #if (defined(__APPLE__) || defined(__NEWLIB__)) #include // __BYTE_ORDER -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) #include // __BYTE_ORDER #elif (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)) #include // __BYTE_ORDER #elif defined(_AIX) || defined(__TOS_AIX__) #include // BYTE_ORDER +#elif defined(__sun__) +#define __LITTLE_ENDIAN__ #elif defined(__QNX__) #include // BYTE_ORDER #else @@ -61,6 +63,8 @@ #ifdef _MSC_VER #include // NOLINT(build/include) #include +#elif defined(__sun__) +#include #elif defined(__APPLE__) #include #elif defined(__linux__) || defined(__ANDROID__) || defined(__CYGWIN__) @@ -166,6 +170,11 @@ inline void GOOGLE_UNALIGNED_STORE64(voi #define bswap_32(x) _byteswap_ulong(x) #define bswap_64(x) _byteswap_uint64(x) +#elif defined(__sun__) +#define bswap_16(x) BSWAP_16(x) +#define bswap_32(x) BSWAP_32(x) +#define bswap_64(x) BSWAP_64(x) + #elif defined(__APPLE__) // Mac OS X / Darwin features #define bswap_16(x) OSSwapInt16(x)