Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2022-05-10 15:09:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and      /work/SRC/openSUSE:Factory/.protobuf.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "protobuf"

Tue May 10 15:09:44 2022 rev:57 rq:975220 version:3.20.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes        2022-05-04 
15:10:39.540135752 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.1538/protobuf.changes      
2022-05-10 15:09:46.543407072 +0200
@@ -1,0 +2,12 @@
+Thu May  5 10:54:05 UTC 2022 - Martin Li??ka <[email protected]>
+
+- Add temporary patch gcc12-disable-__constinit-with-c++-11.patch
+  that addresses gh#protocolbuffers/protobuf#9916.
+
+-------------------------------------------------------------------
+Thu May  5 05:25:44 UTC 2022 - Matej Cepl <[email protected]>
+
+- Remove change_desc_db.patch, because underlying bug in
+  gh#googleapis/python-api-core#372 has been fixed.
+
+-------------------------------------------------------------------

Old:
----
  change_desc_db.patch

New:
----
  gcc12-disable-__constinit-with-c++-11.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ protobuf.spec ++++++
--- /var/tmp/diff_new_pack.x3hh05/_old  2022-05-10 15:09:48.127409069 +0200
+++ /var/tmp/diff_new_pack.x3hh05/_new  2022-05-10 15:09:48.131409074 +0200
@@ -36,10 +36,7 @@
 Source0:        
https://github.com/protocolbuffers/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:        manifest.txt.in
 Source2:        baselibs.conf
-# PATCH-FIX-UPSTREAM change_desc_db.patch gh#googleapis/python-api-core#372 
[email protected]
-# Remove leading dot from database entries, probably just a poor workaround
-# Reported to upstream as gh#protocolbuffers/protobuf#9867
-Patch0:         change_desc_db.patch
+Patch0:         gcc12-disable-__constinit-with-c++-11.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module setuptools}

++++++ gcc12-disable-__constinit-with-c++-11.patch ++++++
diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc
index 1e360cc..e0283fe 100644
--- a/src/google/protobuf/port_def.inc
+++ b/src/google/protobuf/port_def.inc
@@ -609,7 +609,11 @@
 #define PROTOBUF_CONSTINIT [[clang::require_constant_initialization]]
 #define PROTOBUF_CONSTEXPR constexpr
 #elif PROTOBUF_GNUC_MIN(12, 0)
+#if PROTOBUF_CPLUSPLUS_MIN(201703L)
 #define PROTOBUF_CONSTINIT __constinit
+#else
+#define PROTOBUF_CONSTINIT
+#endif
 #define PROTOBUF_CONSTEXPR constexpr
 #else
 #define PROTOBUF_CONSTINIT

Reply via email to