public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qpid-proton] epel10: Fixes the F42 FTBFS bug
@ 2026-08-26 22:53 Hirotaka Wakabayashi
  0 siblings, 0 replies; only message in thread
From: Hirotaka Wakabayashi @ 2026-08-26 22:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qpid-proton
Branch : epel10
Commit : 61c5a31a365183b4c24bf8df274550ca5c6ec0e6
Author : Hirotaka Wakabayashi <hiwkby@yahoo.com>
Date   : 2025-01-24T10:26:40+00:00
Stats  : +29/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qpid-proton/c/61c5a31a365183b4c24bf8df274550ca5c6ec0e6?branch=epel10

Log:
Fixes the F42 FTBFS bug

---
diff --git a/proton.patch b/proton.patch
index e0fab7b..7e715fc 100644
--- a/proton.patch
+++ b/proton.patch
@@ -17,7 +17,32 @@ diff -rc qpid-proton-0.40.0.orig/CMakeLists.txt qpid-proton-0.40.0/CMakeLists.tx
 ! find_package(Python 3.13
           REQUIRED COMPONENTS Interpreter
           OPTIONAL_COMPONENTS Development)
+
+diff -c qpid-proton-0.40.0/cpp/src/ssl_options.cpp.orig qpid-proton-0.40.0/cpp/src/ssl_options.cpp
+*** qpid-proton-0.40.0/cpp/src/ssl_options.cpp.orig	Fri Jan 24 08:53:42 2025
+--- qpid-proton-0.40.0/cpp/src/ssl_options.cpp	Fri Jan 24 08:53:03 2025
+***************
+*** 22,28 ****
+  #include "ssl_options_impl.hpp"
+  
+  // https://stackoverflow.com/questions/31657499/how-to-detect-stdlib-libc-in-the-preprocessor
+! #include <ciso646>
+  
+  #include "proton/ssl.hpp"
+  #include "proton/error.hpp"
+--- 22,32 ----
+  #include "ssl_options_impl.hpp"
+  
+  // https://stackoverflow.com/questions/31657499/how-to-detect-stdlib-libc-in-the-preprocessor
+! #if (__cplusplus >= 201103L)
+! #  include <version>
+! #else
+! #  include <ciso646>
+! #endif
   
+  #include "proton/ssl.hpp"
+  #include "proton/error.hpp"
+
 diff -rc qpid-proton-0.40.0.orig/python/CMakeLists.txt qpid-proton-0.40.0/python/CMakeLists.txt
 *** qpid-proton-0.40.0.orig/python/CMakeLists.txt	Fri Nov 29 12:08:10 2024
 --- qpid-proton-0.40.0/python/CMakeLists.txt	Fri Nov 29 12:09:04 2024

diff --git a/qpid-proton.spec b/qpid-proton.spec
index 1c0a134..632839e 100644
--- a/qpid-proton.spec
+++ b/qpid-proton.spec
@@ -8,7 +8,7 @@
 
 Name:           qpid-proton
 Version:        0.40.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A high performance, lightweight messaging library
 # Automatically converted from old format: ASL 2.0 - review is highly recommended.
 License:        Apache-2.0
@@ -310,6 +310,9 @@ rm -f  %{buildroot}%{proton_datadir}/CMakeLists.txt
 %check
 
 %changelog
+* Fri Jan 24 2025 Hirotaka Wakabayashi <hiwkby@yahoo.com> - 0.40.0-5
+- Add the warning workaround for std=++17 build flag.
+
 * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.40.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 22:53 [rpms/qpid-proton] epel10: Fixes the F42 FTBFS bug Hirotaka Wakabayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox