rpms/cpio/FC-6 cpio-2.6-setLocale.patch, NONE, 1.1 cpio.spec, 1.43, 1.44

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Dec 5 12:01:30 UTC 2006


Author: pvrabec

Update of /cvs/dist/rpms/cpio/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv25312

Modified Files:
	cpio.spec 
Added Files:
	cpio-2.6-setLocale.patch 
Log Message:
cpio-2.6-setLocale.patch


cpio-2.6-setLocale.patch:
 system.h |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE cpio-2.6-setLocale.patch ---
--- cpio-2.6/lib/system.h.setLocale	2006-12-05 11:36:04.000000000 +0100
+++ cpio-2.6/lib/system.h	2006-12-05 11:36:22.000000000 +0100
@@ -471,6 +471,8 @@
 
 /* Prototypes for external functions.  */
 
+#define HAVE_SETLOCALE 1 
+
 #if HAVE_LOCALE_H
 # include <locale.h>
 #endif


Index: cpio.spec
===================================================================
RCS file: /cvs/dist/rpms/cpio/FC-6/cpio.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- cpio.spec	25 Nov 2006 15:23:07 -0000	1.43
+++ cpio.spec	5 Dec 2006 12:01:27 -0000	1.44
@@ -6,7 +6,7 @@
 Summary: A GNU archiving program.
 Name: cpio
 Version: 2.6
-Release: 20%{?dist}
+Release: 21%{?dist}
 License: GPL
 Group: Applications/Archiving
 URL: http://www.gnu.org/software/cpio/
@@ -23,6 +23,7 @@
 Patch21: cpio-2.6-checksum.patch
 Patch22: cpio-2.6-writeOutHeaderBufferOverflow.patch
 Patch23: cpio-2.6-initHeaderStruct.patch
+Patch24: cpio-2.6-setLocale.patch
 
 %ifnos linux
 Prereq: /sbin/rmt
@@ -58,6 +59,8 @@
 %patch21 -p1 -b .checksum
 %patch22 -p1 -b .bufferOverflow
 %patch23 -p1 -b .initHeaderStruct
+%patch24 -p1 -b .setLocale
+
 autoheader
 
 %build
@@ -109,6 +112,9 @@
 %{_infodir}/*.info*
 
 %changelog
+* Tue Dec 05 2006 Peter Vrabec <pvrabec at redhat.com> 2.6-21
+- fix setlocale (#200478)
+
 * Sat Nov 25 2006 Peter Vrabec <pvrabec at redhat.com> 2.6-20
 - cpio man page provided by RedHat
 




More information about the fedora-cvs-commits mailing list