head 1.4; access; symbols pkgsrc-2021Q3:1.3.0.4 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.2 pkgsrc-2021Q2-base:1.3; locks; strict; comment @# @; 1.4 date 2021.11.01.22.11.03; author wiz; state dead; branches; next 1.3; commitid w9V829dUF4F0P8fD; 1.3 date 2021.06.09.04.57.10; author adam; state Exp; branches; next 1.2; commitid BSip0TWGfWRaLpWC; 1.2 date 2021.05.13.12.16.54; author adam; state Exp; branches; next 1.1; commitid P2CO7l3CmHwQ3ZSC; 1.1 date 2021.03.31.10.18.47; author jperkin; state Exp; branches; next ; commitid xqipSLK7BXd8NrNC; desc @@ 1.4 log @protobuf: remove patch that was merged upstream @ text @$NetBSD: patch-src_google_protobuf_port__def.inc,v 1.3 2021/06/09 04:57:10 adam Exp $ SunOS does not support init_priority. --- src/google/protobuf/port_def.inc.orig 2021-06-08 14:11:11.000000000 +0000 +++ src/google/protobuf/port_def.inc @@@@ -541,7 +541,7 @@@@ #ifdef PROTOBUF_ATTRIBUTE_INIT_PRIORITY #error PROTOBUF_ATTRIBUTE_INIT_PRIORITY was previously defined #endif -#if PROTOBUF_GNUC_MIN(3, 0) && (!defined(__APPLE__) || defined(__clang__)) +#if PROTOBUF_GNUC_MIN(3, 0) && !defined(__sun) && (!defined(__APPLE__) || defined(__clang__)) #define PROTOBUF_ATTRIBUTE_INIT_PRIORITY __attribute__((init_priority((102)))) #else #define PROTOBUF_ATTRIBUTE_INIT_PRIORITY @ 1.3 log @protobuf py-protobuf: updated to 3.17.3 Protocol Buffers v3.17.3 C++ Introduce FieldAccessListener. Stop emitting boilerplate {Copy/Merge}From in each ProtoBuf class Fixed some uninitialized variable warnings in generated_message_reflection.cc. @ text @d1 1 a1 1 $NetBSD: patch-src_google_protobuf_port__def.inc,v 1.2 2021/05/13 12:16:54 adam Exp $ @ 1.2 log @protobuf: updated to 3.17.0 Protocol Buffers v3.17.0 Protocol Compiler Fix the generated source information for reserved values in Enums. C++ Fix -Wunused-parameter in map fields Use byteswap.h when building against musl libc Fix -Wundefined-inline error when using SharedCtor() or SharedDtor() Fix bug where Descriptor::DebugString() printed proto3 synthetic oneofs. Provide stable versions of SortAndUnique(). Make sure to cache proto3 optional message fields when they are cleared. Expose UnsafeArena methods to Reflection. Use std::string::empty() rather than std::string::size() > 0. @ text @d1 1 a1 1 $NetBSD: patch-src_google_protobuf_port__def.inc,v 1.1 2021/03/31 10:18:47 jperkin Exp $ d5 1 a5 1 --- src/google/protobuf/port_def.inc.orig 2021-05-12 23:23:56.000000000 +0000 d7 1 a7 1 @@@@ -506,7 +506,7 @@@@ d11 2 a12 2 -#if PROTOBUF_GNUC_MIN(3, 0) +#if PROTOBUF_GNUC_MIN(3, 0) && !defined(__sun) @ 1.1 log @protobuf: Avoid init_priority on SunOS. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- src/google/protobuf/port_def.inc.orig 2021-03-04 21:39:09.000000000 +0000 d7 3 a9 2 @@@@ -587,7 +587,7 @@@@ #define PROTOBUF_ATTRIBUTE_NO_DESTROY d11 5 a15 6 -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__sun) // Protobuf extensions and reflection require registration of the protos linked // in the binary. Not until everything is registered does the runtime have a // complete view on all protos. When code is using reflection or extensions @