public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: moushun chen <cms19859230182@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/Simple-Fuzzer] f45: Simple-Fuzzer: backport unused-repls fix for GCC 15
Date: Sun, 29 Nov 2026 15:36:59 GMT [thread overview]
Message-ID: <179596661990.1.3242949574865578775.rpms-Simple-Fuzzer-444286df0ecf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/Simple-Fuzzer
Branch : f45
Commit : 444286df0ecf35480476b12b3ce29f922904f5be
Author : moushun chen <cms19859230182@gmail.com>
Date : 2026-11-26T03:10:39+00:00
Stats : +46/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/Simple-Fuzzer/c/444286df0ecf35480476b12b3ce29f922904f5be?branch=f45
Log:
Simple-Fuzzer: backport unused-repls fix for GCC 15
Same as rawhide fix-werror.patch: drop unused repls counters so -Wall -Werror builds on GCC 15.
---
diff --git a/Simple-Fuzzer.spec b/Simple-Fuzzer.spec
index 1ce6e08..4ded826 100644
--- a/Simple-Fuzzer.spec
+++ b/Simple-Fuzzer.spec
@@ -1,7 +1,7 @@
Summary: A simple fuzz test-case builder
Name: Simple-Fuzzer
Version: 0.7.1
-Release: 29%{?dist}
+Release: 30%{?dist}
# Automatically converted from old format: BSD - review is highly recommended.
License: LicenseRef-Callaway-BSD
URL: http://aconole.bytheb.org/programs/sfuzz.html
@@ -37,6 +37,48 @@ plugins for Simple Fuzzer
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
+# Backport rawhide GCC15 unused-repls fix (same as fix-werror.patch)
+cat > .fix-werror.patch <<'PATCH_EOF'
+--- a/os-abs.c
++++ b/os-abs.c
+@@ -692,7 +692,6 @@
+ {
+ char *f;
+ char *str = buf;
+- int repls = 0;
+
+ int origl;
+ int oldl;
+@@ -707,8 +706,6 @@
+
+ while((f = strstr(str, old)) != NULL)
+ {
+- ++repls;
+-
+ origl -= oldl;
+
+ if(origl < 0)
+@@ -728,7 +725,6 @@
+ {
+ char *f;
+ char *str = buf;
+- int repls = 0;
+
+ int origl = buflen;
+ int oldl;
+@@ -740,8 +736,6 @@
+ while((f = __internal_memmem(str, (buf + buflen) - str, old, oldl))
+ != NULL)
+ {
+- ++repls;
+-
+ if( ( (f+newl) < buf) || ( (f+newl) > (buf + maxlen) ) )
+ return origl;
+ else if ( (((f+oldl) < buf)) || ( (f+oldl) > (buf+maxlen)) )
+PATCH_EOF
+patch -p1 < .fix-werror.patch
+rm -f .fix-werror.patch
+
%build
%configure --force-symbols --aux-search-path=%{_libdir}/simple-fuzzer
@@ -65,6 +107,9 @@ mv %{buildroot}%{_datadir}/sfuzz-db/*.so %{buildroot}%{_libdir}/simple-fuzzer/
%license LICENSING
%changelog
+* Thu Nov 26 2026 moushun chen <cms19859230182@gmail.com> - 0.7.1-30
+- Backport unused repls fix for GCC 15 -Werror (same as rawhide)
+
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-29 15:36 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=179596661990.1.3242949574865578775.rpms-Simple-Fuzzer-444286df0ecf@fedoraproject.org \
--to=cms19859230182@gmail.com \
--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