Hello community,

here is the log from the commit of package patch for openSUSE:Factory checked 
in at 2012-09-13 07:07:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patch (Old)
 and      /work/SRC/openSUSE:Factory/.patch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "patch", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/patch/patch.changes      2012-04-12 
09:45:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.patch.new/patch.changes 2012-09-13 
07:07:30.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul 17 08:40:27 UTC 2012 - [email protected]
+
+- patch-stdio.in.patch:
+   Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ patch.spec ++++++
--- /var/tmp/diff_new_pack.8AopaT/_old  2012-09-13 07:07:32.000000000 +0200
+++ /var/tmp/diff_new_pack.8AopaT/_new  2012-09-13 07:07:32.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package patch
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,23 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 Url:            ftp://alpha.gnu.org/gnu/diffutils/
 %define hash -31a7
 
 Name:           patch
-License:        GPL-3.0+
-Group:          Productivity/Text/Utilities
-AutoReqProv:    on
 # See bnc#662957. The fix for CVE-2010-4651 breaks the way interdiff was
 # invoking patch, so interdiff had to be fixed too.
 Conflicts:      patchutils < 0.3.2
 Version:        2.6.1.136
-Release:        1
+Release:        0
 Summary:        GNU patch
+License:        GPL-3.0+
+Group:          Productivity/Text/Utilities
 Source:         ftp://alpha.gnu.org/gnu/patch/patch-%version%hash.tar.bz2
 Patch1:         patch-revert-e0f70752.patch
+Patch2:         patch-stdio.in.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -48,6 +47,7 @@
 %prep
 %setup -q -n patch-%version%hash
 %patch1 -p1
+%patch2 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -Wall -O2 -pipe"

++++++ patch-stdio.in.patch ++++++
Index: patch-2.6.1.136-31a7/lib/stdio.in.h
===================================================================
--- patch-2.6.1.136-31a7.orig/lib/stdio.in.h
+++ patch-2.6.1.136-31a7/lib/stdio.in.h
@@ -164,7 +164,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
 #undef gets
+#if HAVE_RAW_DECL_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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to