Hello community,

here is the log from the commit of package parted for openSUSE:Factory checked 
in at 2012-07-30 20:38:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parted (Old)
 and      /work/SRC/openSUSE:Factory/.parted.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parted", Maintainer is "pu...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/parted/parted.changes    2012-07-03 
16:46:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.parted.new/parted.changes       2012-07-30 
20:38:26.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul 27 09:14:44 UTC 2012 - a...@suse.de
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------

New:
----
  parted-stdio.h.patch

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

Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.l7OBP4/_old  2012-07-30 20:38:30.000000000 +0200
+++ /var/tmp/diff_new_pack.l7OBP4/_new  2012-07-30 20:38:30.000000000 +0200
@@ -45,6 +45,7 @@
 Patch17:        fix-nilfs2-probe-function.patch
 Patch18:        parted-fix-cciss-partition-naming.patch
 Patch19:        dummy-bootcode-only-for-x86.patch
+Patch20:        parted-stdio.h.patch
 Requires:       /sbin/udevadm
 BuildRequires:  check-devel
 BuildRequires:  device-mapper-devel >= 1.02.33
@@ -112,6 +113,7 @@
 %patch17 -p1
 %patch18 -p1
 %patch19 -p1
+%patch20 -p1
 
 %build
 export CFLAGS="%{optflags} `ncursesw6-config --cflags`"

++++++ parted-stdio.h.patch ++++++
Index: parted-2.4/lib/stdio.in.h
===================================================================
--- parted-2.4.orig/lib/stdio.in.h
+++ parted-2.4/lib/stdio.in.h
@@ -731,11 +731,13 @@ _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
 
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to