From efc69d85e9fab5bad114738e37edd43d5d5ea841 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Mon, 10 Mar 2003 14:03:54 +0000 Subject: [PATCH] - added dmalloc.patch (allow disabling dmalloc support) - disable dmalloc support - added errno.patch (detect errno.h and include if present) Changed files: crossfire-client.spec -> 1.21 --- crossfire-client.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crossfire-client.spec b/crossfire-client.spec index ebf7edf..fcd452c 100644 --- a/crossfire-client.spec +++ b/crossfire-client.spec @@ -11,6 +11,8 @@ Source0: ftp://ftp.sourceforge.net/pub/sourceforge/crossfire/%{name}-%{version}. 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 @@ -116,6 +118,8 @@ Ten pakiet zawiera pliki wsp %prep %setup -q -a1 %patch0 -p1 +%patch1 -p1 +%patch2 -p1 mv -f sounds cfsounds %if %{?_without_images:0}%{?!_without_images:1} install -d images @@ -128,6 +132,7 @@ cd .. %{__autoconf} %configure \ --disable-alsa \ + --disable-dmalloc \ --with-sound-dir=%{_datadir}/%{name}/sounds %{__make} -- 2.44.0