Hello community,

here is the log from the commit of package openscap for openSUSE:Factory 
checked in at 2012-07-30 11:17:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openscap (Old)
 and      /work/SRC/openSUSE:Factory/.openscap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/openscap/openscap.changes        2012-04-17 
07:47:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openscap.new/openscap.changes   2012-07-30 
11:45:12.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Jul 28 14:24:46 UTC 2012 - [email protected]
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+-------------------------------------------------------------------

New:
----
  openscap-stdio.h.patch

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

Other differences:
------------------
++++++ openscap.spec ++++++
--- /var/tmp/diff_new_pack.XU8M2b/_old  2012-07-30 11:45:20.000000000 +0200
+++ /var/tmp/diff_new_pack.XU8M2b/_new  2012-07-30 11:45:20.000000000 +0200
@@ -25,6 +25,7 @@
 Source:         http://www.open-scap.org/download/%name-%version.tar.gz
 Source1:        oscap-scan.init
 Source2:        sysconfig.oscap-scan
+Patch1:         openscap-stdio.h.patch
 Url:            http://www.open-scap.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libacl-devel
@@ -138,6 +139,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 

++++++ openscap-stdio.h.patch ++++++
Index: openscap-0.8.2/lib/stdio.in.h
===================================================================
--- openscap-0.8.2.orig/lib/stdio.in.h
+++ openscap-0.8.2/lib/stdio.in.h
@@ -733,7 +733,9 @@ _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.  */
+# if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+# endif
 #endif
 
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to