- disable dmalloc support
- added errno.patch (detect errno.h and include if present)
Changed files:
crossfire-client.spec -> 1.21
Source1: ftp://ftp.sourceforge.net/pub/sourceforge/crossfire/%{name}-sounds-%{sndver}.tar.gz
Source2: ftp://ftp.sourceforge.net/pub/sourceforge/crossfire/%{name}-images-%{imgver}.tar.gz
Patch0: %{name}-sdl.patch
+Patch1: %{name}-dmalloc.patch
+Patch2: %{name}-errno.patch
URL: http://crossfire.real-time.com/
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
%prep
%setup -q -a1
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
mv -f sounds cfsounds
%if %{?_without_images:0}%{?!_without_images:1}
install -d images
%{__autoconf}
%configure \
--disable-alsa \
+ --disable-dmalloc \
--with-sound-dir=%{_datadir}/%{name}/sounds
%{__make}