public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/dash] epel10: Fix FTBFS due to -Werror=format-security (#1037030)
Date: Fri, 13 Nov 2026 21:15:34 GMT [thread overview]
Message-ID: <179460453441.1.1514894584714074424.rpms-dash-d8d579681993@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/dash
Branch : epel10
Commit : d8d579681993a1013b0850c1cc9546cf6e78d555
Author : Petr Šabata <contyk@redhat.com>
Date : 2014-06-24T10:49:53+02:00
Stats : +19/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/dash/c/d8d579681993a1013b0850c1cc9546cf6e78d555?branch=epel10
Log:
Fix FTBFS due to -Werror=format-security (#1037030)
---
diff --git a/dash-0.5.7-format-security.patch b/dash-0.5.7-format-security.patch
new file mode 100644
index 0000000..d578dfb
--- /dev/null
+++ b/dash-0.5.7-format-security.patch
@@ -0,0 +1,13 @@
+diff --git a/src/jobs.c b/src/jobs.c
+index bf40204..f3af44d 100644
+--- a/src/jobs.c
++++ b/src/jobs.c
+@@ -427,7 +427,7 @@ sprint_status(char *s, int status, int sigonly)
+ goto out;
+ #endif
+ }
+- col = fmtstr(s, 32, strsignal(st));
++ col = fmtstr(s, 32, "%s", strsignal(st));
+ #ifdef WCOREDUMP
+ if (WCOREDUMP(status)) {
+ col += fmtstr(s + col, 16, " (core dumped)");
diff --git a/dash.spec b/dash.spec
index 7596861..f8c9582 100644
--- a/dash.spec
+++ b/dash.spec
@@ -1,6 +1,6 @@
Name: dash
Version: 0.5.7
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Small and fast POSIX-compliant shell
Group: System Environment/Shells
# BSD: DASH in general
@@ -10,6 +10,7 @@ Group: System Environment/Shells
License: BSD and GPLv2+ and Public Domain and Copyright only
URL: http://gondor.apana.org.au/~herbert/%{name}/
Source0: http://gondor.apana.org.au/~herbert/%{name}/files/%{name}-%{version}.tar.gz
+Patch0: %{name}-0.5.7-format-security.patch
%description
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
@@ -18,6 +19,7 @@ significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.
%prep
%setup -q
+%patch0 -p1
%build
%configure --bindir=/bin
@@ -41,6 +43,9 @@ fi
%{_mandir}/man1/%{name}.1*
%changelog
+* Tue Jun 24 2014 Petr Šabata <contyk@redhat.com> - 0.5.7-10
+- Fix FTBFS due to -Werror=format-security (#1037030)
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
reply other threads:[~2026-11-13 21:15 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=179460453441.1.1514894584714074424.rpms-dash-d8d579681993@fedoraproject.org \
--to=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