Disable the O_SYNC temporary workaround (#872366)
This commit is contained in:
parent
b172f5b0c1
commit
02d7944dba
@ -1,15 +0,0 @@
|
|||||||
diff --git a/gnu/fcntl.in.h b/gnu/fcntl.in.h
|
|
||||||
index 95298de..a9a8ddd 100644
|
|
||||||
--- a/gnu/fcntl.in.h
|
|
||||||
+++ b/gnu/fcntl.in.h
|
|
||||||
@@ -216,6 +216,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - "
|
|
||||||
# define O_SYNC 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#ifndef __O_SYNC
|
|
||||||
+# define __O_SYNC 04000000
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#ifndef O_TTY_INIT
|
|
||||||
# define O_TTY_INIT 0
|
|
||||||
#endif
|
|
@ -3,7 +3,7 @@
|
|||||||
Summary: A GNU archiving program
|
Summary: A GNU archiving program
|
||||||
Name: cpio
|
Name: cpio
|
||||||
Version: 2.11
|
Version: 2.11
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
URL: http://www.gnu.org/software/cpio/
|
URL: http://www.gnu.org/software/cpio/
|
||||||
@ -27,8 +27,6 @@ Patch6: cpio-2.11-stdio.in.patch
|
|||||||
Patch7: cpio-2.10-longnames-split.patch
|
Patch7: cpio-2.10-longnames-split.patch
|
||||||
# cpio does Sum32 checksum, not CRC
|
# cpio does Sum32 checksum, not CRC
|
||||||
Patch8: cpio-2.11-crc-fips-nit.patch
|
Patch8: cpio-2.11-crc-fips-nit.patch
|
||||||
# allow to build since the glibc is not fixed yet (see: #872336)
|
|
||||||
Patch9: cpio-2.11-temporary-allow-build.patch
|
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
@ -60,7 +58,6 @@ Install cpio if you need a program to manage file archives.
|
|||||||
%patch6 -p1 -b .gnulib
|
%patch6 -p1 -b .gnulib
|
||||||
%patch7 -p1 -b .longnames
|
%patch7 -p1 -b .longnames
|
||||||
%patch8 -p1 -b .sum32-fips
|
%patch8 -p1 -b .sum32-fips
|
||||||
%patch9 -p1 -b .allow-to-build
|
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
|
|
||||||
@ -110,6 +107,9 @@ fi
|
|||||||
%{_infodir}/*.info*
|
%{_infodir}/*.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 05 2012 Pavel Raiskup <praiskup@redhat.com> - 2.11-15
|
||||||
|
- disable the temporary O_SYNC fix (glibc is fixed - #872366)
|
||||||
|
|
||||||
* Fri Nov 02 2012 Pavel Raiskup <praiskup@redhat.com> - 2.11-14
|
* Fri Nov 02 2012 Pavel Raiskup <praiskup@redhat.com> - 2.11-14
|
||||||
- fix bad changelog entries
|
- fix bad changelog entries
|
||||||
- allow to build in Fedora Rawhide (temporarily because of #872336) (the value
|
- allow to build in Fedora Rawhide (temporarily because of #872336) (the value
|
||||||
|
Loading…
Reference in New Issue
Block a user