Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/tar/tar.changes  2012-04-23 16:13:51.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.tar.new/tar.changes     2012-07-18 
17:51:27.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jul 17 08:05:33 UTC 2012 - [email protected]
+
+- Fix build failure with undefined gets (glibc 2.16).
+
+-------------------------------------------------------------------
+Wed May 30 13:08:28 UTC 2012 - [email protected]
+
+- avoid automake dependency 
+
+-------------------------------------------------------------------

New:
----
  tar-1.26-stdio.in.patch

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

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.TRM0Vy/_old  2012-07-18 17:51:28.000000000 +0200
+++ /var/tmp/diff_new_pack.TRM0Vy/_new  2012-07-18 17:51:28.000000000 +0200
@@ -31,8 +31,8 @@
 Patch3:         tar-wildcards.patch
 Patch6:         tar-backup-spec-fix-paths.patch
 Patch7:         tar-1.26-remove_O_NONBLOCK.patch
+Patch8:         tar-1.26-stdio.in.patch
 %if 0%{?suse_version} >= %min_suse_ver
-BuildRequires:  automake
 BuildRequires:  help2man
 Recommends:     tar-lang = %{version}
 Recommends:     xz
@@ -65,15 +65,15 @@
 %patch3 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes 
-Wformat-security -Wno-unused-parameter
 export CFLAGS="%{optflags} %my_cflags"
 export RSH="/usr/bin/rsh"
 export DEFAULT_ARCHIVE_FORMAT="POSIX"
-sed -i -e 's@need runtime check@yes@g' m4/*.m4
-autoreconf -fiv
 %configure \
+       gl_cv_func_linkat_follow="yes" \
        --enable-backup-scripts \
        --disable-silent-rules
 make %{?_smp_mflags};

++++++ tar-1.26-stdio.in.patch ++++++
diff -urNp tar-1.26-orig/gnu/stdio.in.h tar-1.26/gnu/stdio.in.h
--- tar-1.26-orig/gnu/stdio.in.h
+++ tar-1.26/gnu/stdio.in.h
@@ -139,7 +139,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