From c839a011071bb74f1441687e9b96438c4708f9a8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:54:30 +0000 Subject: [PATCH 1/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 107bfa53232d50a3e74af64afda9d5ad250d0828 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Mon, 20 Jan 2025 09:00:01 +0100 Subject: [PATCH 2/4] Fix build with GCC15/c++23 --- gcc15-c++23_fix.patch | 11 +++++++++++ zxcvbn-c.spec | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 gcc15-c++23_fix.patch 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 + #include + #include + #include 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 From 401907744c051d1c89b0512ba0adc53c5386b6c4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:21:52 +0000 Subject: [PATCH 3/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 60498bc18d63d0e9292370863a94bb2dbe92f083 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 30 Jul 2025 09:59:47 -0500 Subject: [PATCH 4/4] 2.6 --- .gitignore | 1 + gcc15-c++23_fix.patch | 11 ----------- sources | 2 +- zxcvbn-c.spec | 3 +-- 4 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 gcc15-c++23_fix.patch diff --git a/.gitignore b/.gitignore index a863f47..487c5ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zxcvbn-c-2.5.tar.gz +/zxcvbn-c-2.6.tar.gz diff --git a/gcc15-c++23_fix.patch b/gcc15-c++23_fix.patch deleted file mode 100644 index fd45f88..0000000 --- a/gcc15-c++23_fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -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 - #include - #include - #include diff --git a/sources b/sources index d1b6959..449abed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zxcvbn-c-2.5.tar.gz) = d7199b3cc36cd0e401bd8f857132425908307aefcdb1bb635ee81c34cf71ccbcdf0fe36a336a55da1281692b508881b54773afa41379a448863095f4abd5c0e8 +SHA512 (zxcvbn-c-2.6.tar.gz) = fd9c7dc7d5d584db320d9a2d15035605396afdcba44de6236e481eea91bf21f8d0ef289dff2f34b0050178d8de43e7c6bd6b07087abe883204acf8c269abbaee diff --git a/zxcvbn-c.spec b/zxcvbn-c.spec index 3610fa1..20f3937 100644 --- a/zxcvbn-c.spec +++ b/zxcvbn-c.spec @@ -1,5 +1,5 @@ %global forgeurl https://github.com/tsyrogit/zxcvbn-c -Version: 2.5 +Version: 2.6 %forgemeta Name: zxcvbn-c @@ -8,7 +8,6 @@ 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}