public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jigdo] epel10.2: Fix header inclusions for compiling with GCC 13
@ 2026-08-21 18:59 Michel Alexandre Salim
0 siblings, 0 replies; only message in thread
From: Michel Alexandre Salim @ 2026-08-21 18:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jigdo
Branch : epel10.2
Commit : 9cfc8fea12a9a9ec07928d46acba9e8e712be275
Author : Michel Alexandre Salim <salimma@fedoraproject.org>
Date : 2023-01-26T16:19:03-06:00
Stats : +35/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/jigdo/c/9cfc8fea12a9a9ec07928d46acba9e8e712be275?branch=epel10.2
Log:
Fix header inclusions for compiling with GCC 13
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
---
diff --git a/jigdo-0.8.1-fix-gcc13.patch b/jigdo-0.8.1-fix-gcc13.patch
new file mode 100644
index 0000000..6d5d8bb
--- /dev/null
+++ b/jigdo-0.8.1-fix-gcc13.patch
@@ -0,0 +1,33 @@
+From f38fb62063b81f0ad7dac626a487a3bd65dca3c0 Mon Sep 17 00:00:00 2001
+From: Michel Alexandre Salim <salimma@fedoraproject.org>
+Date: Thu, 26 Jan 2023 16:14:29 -0600
+Subject: [PATCH] Include <cstdint> for GCC 13 compatibility
+
+GCC 13 comes with more header cleanups so certain commonly-included
+headers no longer bring in cstdint with them, and it has to be included
+explicitly:
+
+https://www.gnu.org/software/gcc/gcc-13/porting_to.html
+
+This fixes the Fedora 38 build.
+
+Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
+---
+ src/util/sha256sum.hh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/util/sha256sum.hh b/src/util/sha256sum.hh
+index d5d159f..75e59e5 100644
+--- a/src/util/sha256sum.hh
++++ b/src/util/sha256sum.hh
+@@ -25,6 +25,7 @@
+
+ #include <config.h>
+
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstring>
+ #include <iosfwd>
+--
+2.39.1
+
diff --git a/jigdo.spec b/jigdo.spec
index 00e1354..33cfb24 100644
--- a/jigdo.spec
+++ b/jigdo.spec
@@ -12,6 +12,8 @@ Source2: https://www.einval.com/~steve/pgp/587979573442684E.asc
Source3: jigdo.desktop
# fix doc SGML sources e.g. for missing end tags
Patch: %{name}-0.8.1-fix-docs.patch
+# Fix header inclusions for compiling with GCC 13
+Patch: %{name}-0.8.1-fix-gcc13.patch
BuildRequires: bzip2-devel
BuildRequires: curl-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 18:59 [rpms/jigdo] epel10.2: Fix header inclusions for compiling with GCC 13 Michel Alexandre Salim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox