public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/coan] rawhide: fix patch format, FTBFS with gcc 17 snapshot, resolves rhbz#2581961
@ 2026-11-23 16:51 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-23 16:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/coan
Branch : rawhide
Commit : d3cb80d164bc72cd0efdc3425747a2a068a2bd0f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-23T13:50:35-03:00
Stats  : +5/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/coan/c/d3cb80d164bc72cd0efdc3425747a2a068a2bd0f?branch=rawhide

Log:
fix patch format, FTBFS with gcc 17 snapshot, resolves rhbz#2581961

---
diff --git a/coan-gcc17-fstream.patch b/coan-gcc17-fstream.patch
index 3bf67cd..fe30113 100644
--- a/coan-gcc17-fstream.patch
+++ b/coan-gcc17-fstream.patch
@@ -1,7 +1,7 @@
-Description: io.h uses std::filebuf without including <fstream>
- It relied on a transitive include that libstdc++ from gcc 17 removed.
- Upstream-status: not submitted yet
- References: https://bugzilla.redhat.com/show_bug.cgi?id=2581961
+Add missing <fstream> include required by GCC 17.
+
+diff --git a/src/io.h b/src/io.h
+index 06fd795..3068c56 100644
 --- a/src/io.h
 +++ b/src/io.h
 @@ -42,6 +42,7 @@

diff --git a/coan.spec b/coan.spec
index 04f434c..ff418bc 100644
--- a/coan.spec
+++ b/coan.spec
@@ -11,6 +11,7 @@ Patch0:         expression_parser.patch
 # https://sourceforge.net/p/coan2/bugs/95/
 Patch1:         coan-autoconf-c99.patch
 # https://bugzilla.redhat.com/show_bug.cgi?id=2581961
+# https://sourceforge.net/p/coan2/bugs/98/
 Patch2:         coan-gcc17-fstream.patch
 BuildRequires:  gcc-c++
 BuildRequires:  make

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

only message in thread, other threads:[~2026-11-23 16:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 16:51 [rpms/coan] rawhide: fix patch format, FTBFS with gcc 17 snapshot, resolves rhbz#2581961 Filipe Rosset

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