Hello community,

here is the log from the commit of package diffutils for openSUSE:Factory 
checked in at 2012-07-18 17:12:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/diffutils (Old)
 and      /work/SRC/openSUSE:Factory/.diffutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/diffutils/diffutils.changes      2012-02-28 
19:20:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.diffutils.new/diffutils.changes 2012-07-18 
17:12:53.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul 17 19:04:29 UTC 2012 - [email protected]
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ diffutils.spec ++++++
--- /var/tmp/diff_new_pack.cqzDty/_old  2012-07-18 17:12:54.000000000 +0200
+++ /var/tmp/diff_new_pack.cqzDty/_new  2012-07-18 17:12:54.000000000 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           diffutils
 Url:            http://www.gnu.org/software/diffutils/
 Provides:       diff
@@ -26,6 +27,7 @@
 License:        GFDL-1.2 ; GPL-3.0+
 Group:          Productivity/Text/Utilities
 Source:         %{name}-%{version}.tar.xz
+Patch1:         diffutils-stdio.in.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  xz
 
@@ -35,6 +37,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure


++++++ diffutils-stdio.in.patch ++++++
Index: diffutils-3.2/lib/stdio.in.h
===================================================================
--- diffutils-3.2.orig/lib/stdio.in.h
+++ diffutils-3.2/lib/stdio.in.h
@@ -693,12 +693,14 @@ _GL_CXXALIAS_RPL (gets, char *, (char *s
 _GL_CXXALIAS_SYS (gets, char *, (char *s));
 #  undef gets
 # endif
+#if HAVE_RAW_DECL_GETS
 _GL_CXXALIASWARN (gets);
 /* 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.  */
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
+#endif
 
 
 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to