Hello community, here is the log from the commit of package octave for openSUSE:Factory checked in at 2012-07-31 13:37:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/octave (Old) and /work/SRC/openSUSE:Factory/.octave.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "octave", Maintainer is "PGajdos@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/octave/octave.changes 2012-06-05 15:33:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.octave.new/octave.changes 2012-07-31 13:58:57.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 29 19:08:14 UTC 2012 - aj@suse.de + +- Fix build with missing gets declaration (glibc 2.16) + +------------------------------------------------------------------- New: ---- octave-gets.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ octave.spec ++++++ --- /var/tmp/diff_new_pack.qOGYlc/_old 2012-07-31 13:59:35.000000000 +0200 +++ /var/tmp/diff_new_pack.qOGYlc/_new 2012-07-31 13:59:35.000000000 +0200 @@ -22,14 +22,17 @@ Name: octave Version: 3.6.2 Release: 0 -License: GPL-3.0+ Summary: A High Level Programming Language +License: GPL-3.0+ +Group: Productivity/Scientific/Math %define apiver v48+ Url: http://www.octave.org/ -Group: Productivity/Scientific/Math Source: %{name}-%{version}.tar.bz2 +Patch1: octave-gets.patch BuildRequires: bison +BuildRequires: blas-devel BuildRequires: dejagnu +BuildRequires: fftw3-devel BuildRequires: flex BuildRequires: freetype2-devel BuildRequires: gcc-c++ @@ -38,25 +41,23 @@ BuildRequires: gmp-devel BuildRequires: gperf BuildRequires: hdf5-devel +BuildRequires: lapack-devel +BuildRequires: libMagick++-devel +BuildRequires: libcurl-devel BuildRequires: liblcms-devel BuildRequires: pcre-devel BuildRequires: pkg-config BuildRequires: qhull-devel BuildRequires: qrupdate-devel BuildRequires: readline-devel +BuildRequires: suitesparse-devel BuildRequires: termcap BuildRequires: texlive-devel BuildRequires: texlive-latex -BuildRequires: zlib-devel -BuildRequires: fftw3-devel -BuildRequires: libMagick++-devel -BuildRequires: libcurl-devel BuildRequires: xorg-x11-libSM-devel BuildRequires: xorg-x11-libX11-devel BuildRequires: xorg-x11-libXext-devel -BuildRequires: suitesparse-devel -BuildRequires: blas-devel -BuildRequires: lapack-devel +BuildRequires: zlib-devel %if %{gnuplot} == 0 # for native graphics BuildRequires: Mesa-devel @@ -97,6 +98,7 @@ %prep %setup -q +%patch1 -p1 %build export CPPFLAGS="-DH5_USE_16_API" ++++++ octave-gets.patch ++++++ Index: octave-3.6.2/libgnu/stdio.in.h =================================================================== --- octave-3.6.2.orig/libgnu/stdio.in.h +++ octave-3.6.2/libgnu/stdio.in.h @@ -717,7 +717,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: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org