public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/jigdo] epel10.2: Fix header inclusions for compiling with GCC 13
Date: Fri, 21 Aug 2026 18:59:41 GMT [thread overview]
Message-ID: <178733878136.1.10956132144166106079.rpms-jigdo-9cfc8fea12a9@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-21 18:59 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=178733878136.1.10956132144166106079.rpms-jigdo-9cfc8fea12a9@fedoraproject.org \
--to=salimma@fedoraproject.org \
--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