public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/zxcvbn-c] epel9: Fix build with GCC15/c++23
Date: Mon, 28 Sep 2026 12:34:07 GMT	[thread overview]
Message-ID: <179059884702.1.16208309449751497562.rpms-zxcvbn-c-107bfa53232d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/zxcvbn-c
Branch : epel9
Commit : 107bfa53232d50a3e74af64afda9d5ad250d0828
Author : Mattia Verga <mattia.verga@proton.me>
Date   : 2025-01-20T09:00:01+01:00
Stats  : +13/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/zxcvbn-c/c/107bfa53232d50a3e74af64afda9d5ad250d0828?branch=epel9

Log:
Fix build with GCC15/c++23

---
diff --git a/gcc15-c++23_fix.patch b/gcc15-c++23_fix.patch
new file mode 100644
index 0000000..fd45f88
--- /dev/null
+++ b/gcc15-c++23_fix.patch
@@ -0,0 +1,11 @@
+diff -U 3 -dHrN a/dict-generate.cpp b/dict-generate.cpp
+--- a/dict-generate.cpp	2022-04-07 19:19:00.000000000 +0200
++++ b/dict-generate.cpp	2025-01-20 08:49:59.056237723 +0100
+@@ -22,6 +22,7 @@
+  *
+  **********************************************************************************/
+ 
++#include <cstdint>
+ #include <iostream>
+ #include <string>
+ #include <fstream>

diff --git a/zxcvbn-c.spec b/zxcvbn-c.spec
index fad93dc..3610fa1 100644
--- a/zxcvbn-c.spec
+++ b/zxcvbn-c.spec
@@ -8,6 +8,7 @@ Summary:        C/C++ version of the zxcvbn password strength estimator
 License:        MIT
 URL:            %{forgeurl}
 Source0:        %{forgesource}
+Patch:          gcc15-c++23_fix.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
@@ -30,7 +31,7 @@ developing applications that use %{name}
 
 
 %prep
-%forgesetup
+%forgeautosetup
 
 
 %build

                 reply	other threads:[~2026-09-28 12:34 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=179059884702.1.16208309449751497562.rpms-zxcvbn-c-107bfa53232d@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --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