Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package abseil-cpp for openSUSE:Factory 
checked in at 2025-05-06 16:38:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/abseil-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.abseil-cpp.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "abseil-cpp"

Tue May  6 16:38:45 2025 rev:46 rq:1274319 version:20250127.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/abseil-cpp/abseil-cpp.changes    2025-03-26 
21:16:36.189553083 +0100
+++ /work/SRC/openSUSE:Factory/.abseil-cpp.new.30101/abseil-cpp.changes 
2025-05-06 16:39:15.298717220 +0200
@@ -1,0 +2,6 @@
+Fri May  2 16:08:03 UTC 2025 - Friedrich Haubensak <[email protected]>
+
+- add abseil-ciso646.patch from upstream to avoid gcc15 deprecation
+  warnings that result in build failure of dependant packages
+
+-------------------------------------------------------------------

New:
----
  abseil-ciso646.patch

BETA DEBUG BEGIN:
  New:
- add abseil-ciso646.patch from upstream to avoid gcc15 deprecation
  warnings that result in build failure of dependant packages
BETA DEBUG END:

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

Other differences:
------------------
++++++ abseil-cpp.spec ++++++
--- /var/tmp/diff_new_pack.P4lYxL/_old  2025-05-06 16:39:16.058748984 +0200
+++ /var/tmp/diff_new_pack.P4lYxL/_new  2025-05-06 16:39:16.058748984 +0200
@@ -42,6 +42,8 @@
 %else
 Patch0:         options-cxx17.patch
 %endif
+# PATCH-FIX-UPSTREAM abseil-ciso646.patch -- avoid deprecation warnings
+Patch2:         abseil-ciso646.patch
 
 %description
 Abseil is a collection of C++11 libraries which augment the C++

++++++ abseil-ciso646.patch ++++++

github.com/abseil/abseil-cpp/commit/5f3435a

>From 5f3435aba00bcd7f12062d2e8e1839b4eaf1a575 Mon Sep 17 00:00:00 2001
From: Derek Mauro <[email protected]>
Date: Tue, 29 Apr 2025 06:23:36 -0700
Subject: [PATCH] Fix GCC15 warning that <ciso646> is deprecated in C++17


adapted to opensuse's source tree (1st line of patch context empty)

--- a/absl/hash/internal/hash.h
+++ b/absl/hash/internal/hash.h
@@ -28,13 +28,25 @@
 
 #include "absl/base/config.h"
 
+// GCC15 warns that <ciso646> is deprecated in C++17 and suggests using
+// <version> instead, even though <version> is not available in C++17 mode 
prior
+// to GCC9.
+#if defined(__has_include)
+#if __has_include(<version>)
+#define ABSL_INTERNAL_VERSION_HEADER_AVAILABLE 1
+#endif
+#endif
+
 // For feature testing and determining which headers can be included.
-#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L
+#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L || \
+    ABSL_INTERNAL_VERSION_HEADER_AVAILABLE
 #include <version>
 #else
 #include <ciso646>
 #endif
 
+#undef ABSL_INTERNAL_VERSION_HEADER_AVAILABLE
+
 #include <algorithm>
 #include <array>
 #include <bitset>

Reply via email to