This commit is contained in:
parent
b9a0e8b304
commit
df45b5af07
28
SDL_mixer-timidity-crash.patch
Normal file
28
SDL_mixer-timidity-crash.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
--- timidity/common.c
|
||||||
|
+++ timidity/common.c
|
||||||
|
@@ -104,7 +104,6 @@
|
||||||
|
FILE *fp;
|
||||||
|
PathList *plp;
|
||||||
|
int l;
|
||||||
|
- static int firsttime=1;
|
||||||
|
|
||||||
|
if (!name || !(*name))
|
||||||
|
{
|
||||||
|
@@ -113,10 +112,9 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef DEFAULT_PATH
|
||||||
|
- if (firsttime && (pathlist==NULL)) {
|
||||||
|
+ if (pathlist==NULL) {
|
||||||
|
/* Generate path list */
|
||||||
|
add_to_pathlist(DEFAULT_PATH);
|
||||||
|
- firsttime=0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -244,4 +242,5 @@
|
||||||
|
free(plp);
|
||||||
|
plp = next_plp;
|
||||||
|
}
|
||||||
|
+ pathlist = NULL;
|
||||||
|
}
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 17:38:07 CET 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed crash in timidity (timidity-crash.patch) [#235376]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 14 14:52:41 CEST 2006 - nadvornik@suse.cz
|
Thu Sep 14 14:52:41 CEST 2006 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_mixer (Version 1.2.7)
|
# spec file for package SDL_mixer (Version 1.2.7)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -15,14 +15,15 @@ BuildRequires: SDL-devel libmikmod libogg-devel libvorbis-devel xorg-x11
|
|||||||
Summary: Sample Mixer Library for SDL
|
Summary: Sample Mixer Library for SDL
|
||||||
Obsoletes: sdlmixer
|
Obsoletes: sdlmixer
|
||||||
Version: 1.2.7
|
Version: 1.2.7
|
||||||
Release: 1
|
Release: 34
|
||||||
License: LGPL
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: %{name}-timidity_cfg.patch
|
Patch: %{name}-timidity_cfg.patch
|
||||||
Patch1: SDL_mixer-64bit-fix.dif
|
Patch1: SDL_mixer-64bit-fix.dif
|
||||||
Patch2: SDL_mixer-warn.dif
|
Patch2: SDL_mixer-warn.dif
|
||||||
Patch3: SDL_mixer-libmikmod.patch
|
Patch3: SDL_mixer-libmikmod.patch
|
||||||
|
Patch4: SDL_mixer-timidity-crash.patch
|
||||||
URL: http://www.libsdl.org/projects/SDL_mixer/index.html
|
URL: http://www.libsdl.org/projects/SDL_mixer/index.html
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%package devel
|
%package devel
|
||||||
@ -51,6 +52,7 @@ Timidity MIDI, and SMPEG MP3 libraries.
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -91,6 +93,8 @@ rm -rf %buildroot
|
|||||||
%{_includedir}/SDL/*
|
%{_includedir}/SDL/*
|
||||||
|
|
||||||
%changelog -n SDL_mixer
|
%changelog -n SDL_mixer
|
||||||
|
* Thu Jan 18 2007 - prusnak@suse.cz
|
||||||
|
- fixed crash in timidity (timidity-crash.patch) [#235376]
|
||||||
* Thu Sep 14 2006 - nadvornik@suse.cz
|
* Thu Sep 14 2006 - nadvornik@suse.cz
|
||||||
- updated to 1.2.7:
|
- updated to 1.2.7:
|
||||||
* Added support for dynamically loading Ogg Vorbis library
|
* Added support for dynamically loading Ogg Vorbis library
|
||||||
|
Loading…
Reference in New Issue
Block a user