1
0
forked from pool/SDL_mixer
OBS User unknown 2007-01-18 18:37:48 +00:00 committed by Git OBS Bridge
parent b9a0e8b304
commit df45b5af07
3 changed files with 40 additions and 3 deletions

View 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;
}

View File

@ -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

View File

@ -1,7 +1,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
# 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
Obsoletes: sdlmixer
Version: 1.2.7
Release: 1
License: LGPL
Release: 34
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-timidity_cfg.patch
Patch1: SDL_mixer-64bit-fix.dif
Patch2: SDL_mixer-warn.dif
Patch3: SDL_mixer-libmikmod.patch
Patch4: SDL_mixer-timidity-crash.patch
URL: http://www.libsdl.org/projects/SDL_mixer/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package devel
@ -51,6 +52,7 @@ Timidity MIDI, and SMPEG MP3 libraries.
%patch1
%patch2
%patch3
%patch4
%build
./autogen.sh
@ -91,6 +93,8 @@ rm -rf %buildroot
%{_includedir}/SDL/*
%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
- updated to 1.2.7:
* Added support for dynamically loading Ogg Vorbis library