]> git.pld-linux.org Git - packages/crossfire-client.git/commitdiff
- Version: 1.7.0
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 26 Apr 2004 13:01:32 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- workaround for the broken build system in this version (cannot rebuild configure) to disable dmalloc

Changed files:
    crossfire-client.spec -> 1.28

crossfire-client.spec

index efa505bd092e5b1c6b9cb8e156bc8a36e42c1e27..096fa95bde4895e75cf2d8487e86b929f1e4faff 100644 (file)
@@ -3,18 +3,16 @@
 Summary:       Crossfire client
 Summary(pl):   Klient Crossfire
 Name:          crossfire-client
-Version:       1.6.1
+Version:       1.7.0
 Release:       1
 License:       GPL
 Group:         Applications/Games
 Source0:       http://dl.sourceforge.net/crossfire/%{name}-%{version}.tar.gz
-# Source0-md5: 609a44e079803bc48c966b1766a02863
+# Source0-md5: ef405f78d54be0bf22feeef6b4fc0d73
 Source1:       http://dl.sourceforge.net/crossfire/%{name}-sounds-%{sndver}.tar.gz
 # Source1-md5: 1b33401d9d2af0d391fee7ad04282cfd
 Source2:       http://dl.sourceforge.net/crossfire/%{name}-images-%{imgver}.tar.gz
 # Source2-md5: 63cbfb00ff8000f2567880b72c8162bd
-Patch0:                %{name}-sdl.patch
-Patch1:                %{name}-dmalloc.patch
 URL:           http://crossfire.real-time.com/
 BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
@@ -118,8 +116,6 @@ Ten pakiet zawiera pliki wsp
 
 %prep
 %setup  -q -a1
-%patch0 -p1
-%patch1 -p1
 mv -f sounds cfsounds
 %if %{?_without_images:0}%{?!_without_images:1}
 install -d images
@@ -129,11 +125,10 @@ cd ..
 %endif
 
 %build
-%{__autoconf}
 %configure \
        --disable-alsa \
-       --disable-dmalloc \
        --with-sound-dir=%{_datadir}/%{name}/sounds
+perl -i -p -e 's/\#define HAVE_DMALLOC_H 1/\/\* \#undef HAVE_DMALLOC_H \*\//' common/config.h
 %{__make}
 
 %install
This page took 0.068561 seconds and 4 git commands to generate.