public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hirotaka Wakabayashi <hiwkby@yahoo.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qpid-proton] epel10: Fixes the F42 FTBFS bug
Date: Wed, 26 Aug 2026 22:53:04 GMT	[thread overview]
Message-ID: <178778478404.1.7563100726650469397.rpms-qpid-proton-61c5a31a3651@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-26 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178778478404.1.7563100726650469397.rpms-qpid-proton-61c5a31a3651@fedoraproject.org \
    --to=hiwkby@yahoo.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox