Hello community,

here is the log from the commit of package cpio for openSUSE:Factory checked in 
at 2012-07-20 10:16:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpio (Old)
 and      /work/SRC/openSUSE:Factory/.cpio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpio", Maintainer is "vci...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpio/cpio.changes        2012-02-07 
14:45:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cpio.new/cpio.changes   2012-07-20 
10:24:10.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jul 18 08:31:24 UTC 2012 - a...@suse.de
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------

New:
----
  cpio-stdio.in.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpio.spec ++++++
--- /var/tmp/diff_new_pack.1eXQa9/_old  2012-07-20 10:24:12.000000000 +0200
+++ /var/tmp/diff_new_pack.1eXQa9/_new  2012-07-20 10:24:12.000000000 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           cpio
 Url:            http://www.gnu.org/software/cpio/cpio.html
 BuildRequires:  autoconf
@@ -40,6 +41,7 @@
 #PATCH-FIX-UPSTREAM cpio-2.10-close_files_after_copy.patch
 Patch20:        cpio-close_files_after_copy.patch
 Patch21:        cpio-pattern-file-sigsegv.patch
+Patch22:        cpio-stdio.in.patch
 PreReq:         %install_info_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Recommends:     %{name}-lang = %{version}
@@ -76,6 +78,7 @@
 %patch18
 %patch20
 %patch21 -p1
+%patch22 -p1
 #chmod 755 .
 #chmod u+w *
 #chmod a+r *

++++++ cpio-stdio.in.patch ++++++
Index: cpio-2.11/gnu/stdio.in.h
===================================================================
--- cpio-2.11.orig/gnu/stdio.in.h
+++ cpio-2.11/gnu/stdio.in.h
@@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
+#if HAVE_RAW_DECL_GETS
 #undef gets
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to