add patch for mkstemp on sparc64

This commit is contained in:
Dennis Gilmore 2010-03-03 19:13:44 +00:00
parent e496961922
commit 12226c563d
2 changed files with 15 additions and 1 deletions

9
coreutils-mkstemp.patch Normal file
View File

@ -0,0 +1,9 @@
--- coreutils-7.6/lib/mkstemp.c.BAD 2010-03-03 18:17:52.000000000 +0000
+++ coreutils-7.6/lib/mkstemp.c 2010-03-03 18:18:28.000000000 +0000
@@ -40,5 +40,5 @@
mkstemp (template)
char *template;
{
- return __gen_tempname (template, 0, __GT_FILE);
+ return __gen_tempname (template, __GT_FILE);
}

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 7.6
Release: 9%{?dist}
Release: 10%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@ -27,6 +27,7 @@ Patch6: coreutils-7.6-ls-infloop.patch
Patch7: coreutils-7.6-ls-derefdanglinginode.patch
Patch8: coreutils-CVE-2009-4135.patch
Patch9: coreutils-7.6-tail-rebase.patch
Patch10: coreutils-mkstemp.patch
# Our patches
Patch100: coreutils-6.10-configuration.patch
@ -126,6 +127,7 @@ Libraries for coreutils package.
%patch6 -p1 -b .infloop
%patch8 -p1 -b .unsafetmp
%patch9 -p1 -b .rebase
%patch10 -p1 -b .mkstemp
# Our patches
%patch100 -p1 -b .configure
@ -347,6 +349,9 @@ fi
%{_libdir}/coreutils
%changelog
* Wed Mar 03 2010 Dennis Gilmore <dennis@ausil.us> - 7.6-10
- add patch for mkstemp on sparc64
* Tue Jan 12 2010 Ondrej Vasik <ovasik@redhat.com> - 7.6-9
- require gmp-devel/gmp for large numbers support(#552846)
- use grep instead of deprecated egrep in colorls.sh script