]> git.pld-linux.org Git - packages/dash.git/commitdiff
- updated to 0.5.8 auto/th/dash-0.5.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Oct 2014 15:46:38 +0000 (17:46 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Oct 2014 15:46:38 +0000 (17:46 +0200)
- added format patch (fixes build with -Werror=format-security)

dash-format.patch [new file with mode: 0644]
dash.spec

diff --git a/dash-format.patch b/dash-format.patch
new file mode 100644 (file)
index 0000000..b93bb52
--- /dev/null
@@ -0,0 +1,11 @@
+--- dash-0.5.8/src/jobs.c.orig 2014-09-28 10:19:32.000000000 +0200
++++ dash-0.5.8/src/jobs.c      2014-10-05 17:40:52.165504729 +0200
+@@ -427,7 +427,7 @@
+                               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)");
index 89f66b3fcc0e335ea1e021a42a46970915f83f6d..84845f7c7e1528ee30375a68106ebdb7277795f5 100644 (file)
--- a/dash.spec
+++ b/dash.spec
@@ -1,12 +1,13 @@
 Summary:       POSIX-compliant implementation of /bin/sh
 Summary(pl.UTF-8):     Zgodna z POSIX implementacja /bin/sh
 Name:          dash
-Version:       0.5.7
+Version:       0.5.8
 Release:       1
 License:       GPL v2+
 Group:         Applications/Shells
 Source0:       http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
-# Source0-md5: f6cedb10ae7258adb5ab17a10ae80d51
+# Source0-md5: 5c152209680dab3c319e8923f6c51378
+Patch0:                %{name}-format.patch
 URL:           http://gondor.apana.org.au/~herbert/dash/
 Requires(post):        grep
 Requires(preun):       sed >= 4.0
@@ -35,6 +36,7 @@ SHell).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
This page took 0.171324 seconds and 4 git commands to generate.