public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zxcvbn-c] epel9: Fix build with GCC15/c++23
@ 2026-09-28 12:34 Mattia Verga
  0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-09-28 12:34 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-09-28 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 12:34 [rpms/zxcvbn-c] epel9: Fix build with GCC15/c++23 Mattia Verga

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