Hello community,
here is the log from the commit of package SDL_sound
checked in at Wed Apr 23 02:05:38 CEST 2008.
--------
--- SDL_sound/SDL_sound.changes 2007-11-06 16:09:15.000000000 +0100
+++ /mounts/work_src_done/STABLE/SDL_sound/SDL_sound.changes 2008-04-22 11:06:52.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 11 15:44:08 CEST 2008 - prusnak@suse.cz
+
+- fix speex support and insufficient bounds checking in speex decoder
+ (speex.patch) [bnc#379107]
+
+-------------------------------------------------------------------
Old:
----
SDL_sound-svn536-nompglib.tar.bz2
New:
----
SDL_sound-1.0.1-speex.patch
SDL_sound-1.0.1-svn536-nompglib.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ SDL_sound.spec ++++++
--- /var/tmp/diff_new_pack.Mc1564/_old 2008-04-23 02:05:27.000000000 +0200
+++ /var/tmp/diff_new_pack.Mc1564/_new 2008-04-23 02:05:27.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package SDL_sound (Version 1.0.1)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,13 +10,15 @@
# norootforbuild
+
Name: SDL_sound
BuildRequires: SDL-devel flac-devel libmikmod-devel libogg-devel libvorbis-devel physfs-devel speex-devel
Url: http://icculus.org/SDL_sound/
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
Version: 1.0.1
-Release: 1
-Source0: %{name}-svn536-nompglib.tar.bz2
+Release: 46
+Source: %{name}-%{version}-svn536-nompglib.tar.bz2
+Patch0: %{name}-%{version}-speex.patch
License: LGPL v2.1 or later
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -35,6 +37,7 @@
Ryan C. Gordon <icculus at clutteredmind dot org>
%package devel
+License: LGPL v2.1 or later
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
Group: System/Libraries
Requires: %{name} = %{version}
@@ -55,20 +58,19 @@
%prep
%setup -q -n %{name}
+%patch0
%build
./bootstrap
-%configure --disable-smpeg --disable-mpglib
+%configure --disable-sdltest --disable-smpeg --disable-mpglib
make %{?jobs:-j %jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
@@ -84,7 +86,11 @@
%{_includedir}/SDL
%{_libdir}/*a
%{_libdir}/lib*.so
+
%changelog
-* Tue Nov 06 2007 - prusnak@suse.cz
+* Fri Apr 11 2008 prusnak@suse.cz
+- fix speex support and insufficient bounds checking in speex decoder
+ (speex.patch) [bnc#379107]
+* Tue Nov 06 2007 prusnak@suse.cz
- created package (version 1.0.1)
sources from SVN - revision 536, stripped internal mpglib sources
++++++ SDL_sound-1.0.1-speex.patch ++++++
--- configure.in
+++ configure.in
@@ -296,7 +296,7 @@
if test x$enable_speex = xyes; then
AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes)
- AC_CHECK_HEADER(speex.h, have_speex_hdr=yes)
+ AC_CHECK_HEADER(speex/speex.h, have_speex_hdr=yes)
AC_CHECK_LIB(speex, speex_bits_init, have_speex_lib=yes)
if test "x$have_ogg_hdr" = "xyes" -a "x$have_ogg_lib" = "xyes" -a "x$have_speex_hdr" = "xyes" -a "x$have_speex_lib" = "xyes"; then
LIBS="$LIBS -logg -lspeex"
--- decoders/speex.c
+++ decoders/speex.c
@@ -51,8 +51,8 @@
#include