Skip to content

Commit

Permalink
Update protobuf to version 21.2 / rev 63
Browse files Browse the repository at this point in the history
  • Loading branch information
dimstar_suse authored and bmwiedemann committed Aug 4, 2022
1 parent 571b445 commit 1f7cbab
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 34 deletions.
Binary file modified packages/p/protobuf/.files
Binary file not shown.
7 changes: 7 additions & 0 deletions packages/p/protobuf/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -687,4 +687,11 @@
<comment>Automatic submission by obs-autosubmit</comment>
<requestid>992221</requestid>
</revision>
<revision rev="63" vrev="3">
<srcmd5>cb93929f997d78a3f7181be550c39980</srcmd5>
<version>21.2</version>
<time>1659613242</time>
<user>dimstar_suse</user>
<comment>https://github.com/protocolbuffers/protobuf/issues/10323</comment>
</revision>
</revisionlist>
1 change: 1 addition & 0 deletions packages/p/protobuf/.servicemark
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6553c69f7154fa1dca6b30d2998f48f5
12 changes: 5 additions & 7 deletions packages/p/protobuf/gcc12-disable-__constinit-with-c++-11.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Index: protobuf-21.3/src/google/protobuf/port_def.inc
===================================================================
--- protobuf-21.3.orig/src/google/protobuf/port_def.inc
+++ protobuf-21.3/src/google/protobuf/port_def.inc
@@ -652,7 +652,11 @@
--- protobuf-21.2/src/google/protobuf/port_def.inc.orig 2022-07-03 09:45:35.196880191 +0200
+++ protobuf-21.2/src/google/protobuf/port_def.inc 2022-07-03 09:46:17.673245305 +0200
@@ -651,7 +651,11 @@
#define PROTOBUF_CONSTINIT [[clang::require_constant_initialization]]
#define PROTOBUF_CONSTEXPR constexpr
#elif PROTOBUF_GNUC_MIN(12, 2)
Expand All @@ -12,5 +10,5 @@ Index: protobuf-21.3/src/google/protobuf/port_def.inc
+#define PROTOBUF_CONSTINIT
+#endif
#define PROTOBUF_CONSTEXPR constexpr
// MSVC 17 currently seems to raise an error about constant-initialized pointers.
#elif defined(_MSC_VER) && _MSC_VER >= 1930
#else
#define PROTOBUF_CONSTINIT
1 change: 1 addition & 0 deletions packages/p/protobuf/protobuf-21.2.tar.gz
1 change: 0 additions & 1 deletion packages/p/protobuf/protobuf-21.3.tar.gz

This file was deleted.

25 changes: 0 additions & 25 deletions packages/p/protobuf/protobuf.changes
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
-------------------------------------------------------------------
Mon Jul 25 07:11:14 UTC 2022 - Dirk Müller <dmueller@suse.com>

- update to 21.3:
* C++
* Add header search paths to Protobuf-C++.podspec (#10024)
* Fixed Visual Studio constinit errors (#10232)
* Fix #9947: make the ABI compatible between debug and non-debug builds (#10271)
* UPB
* Allow empty package names (fixes behavior regression in 4.21.0)
* Fix a SEGV bug when comparing a non-materialized sub-message (#10208)
* Fix several bugs in descriptor mapping containers (eg. descriptor.services_by_name)
* for x in mapping now yields keys rather than values, to match Python
conventions and the behavior of the old library.
* Lookup operations now correctly reject unhashable types as map keys.
* We implement repr() to use the same format as dict.
* Fix maps to use the ScalarMapContainer class when appropriate
* Fix bug when parsing an unknown value in a proto2 enum extension (protocolbuffers/upb#717)
* PHP
* Add "readonly" as a keyword for PHP and add previous classnames to descriptor pool (#10041)
* Python
* Make //:protobuf_python and //:well_known_types_py_pb2 public (#10118)
* Bazel
* Add back a filegroup for :well_known_protos (#10061)

-------------------------------------------------------------------
Sun Jul 3 07:50:16 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

Expand Down
2 changes: 1 addition & 1 deletion packages/p/protobuf/protobuf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%bcond_without python2
%bcond_without python3
Name: protobuf
Version: 21.3
Version: 21.2
Release: 0
Summary: Protocol Buffers - Google's data interchange format
License: BSD-3-Clause
Expand Down

0 comments on commit 1f7cbab

Please sign in to comment.