Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=0f0f2b74dd305f3ce3ae9e2086fbf53af0aed7b5
commit 0f0f2b74dd305f3ce3ae9e2086fbf53af0aed7b5 Author: DeX77 <[email protected]> Date: Sun Sep 30 14:19:25 2012 +0200 warmux-11.04.1-2-x86_64 * rebuild with new sdl_gfx * changed maintainer: Devil505 -> me diff --git a/source/games-extra/warmux/06_fix_build_sdlnet.patch b/source/games-extra/warmux/06_fix_build_sdlnet.patch new file mode 100644 index 0000000..ece948c --- /dev/null +++ b/source/games-extra/warmux/06_fix_build_sdlnet.patch @@ -0,0 +1,14 @@ +Description: Fix FTBFS with libsdl-net 1.2.8. +Author: Felix Geyer <[email protected]> + +--- warmux-11.04.1+repack.orig/lib/warmux/action/action.cpp ++++ warmux-11.04.1+repack/lib/warmux/action/action.cpp +@@ -85,7 +85,7 @@ + { + m_creator = _creator; + +- m_header.len = SDLNet_Read32(buffer); ++ m_header.len = SDLNet_Read32(const_cast<char*>(buffer)); + ASSERT(m_header.len >= sizeof(Header)); + buffer += 4; + // All of the following could be skipped for the actions we now, diff --git a/source/games-extra/warmux/07_fix_build_gcc47.patch b/source/games-extra/warmux/07_fix_build_gcc47.patch new file mode 100644 index 0000000..8460bcb --- /dev/null +++ b/source/games-extra/warmux/07_fix_build_gcc47.patch @@ -0,0 +1,11 @@ +Description: Fix FTBFS with gcc 4.7. +Author: Felix Geyer <[email protected]> + +--- warmux-11.04.1+repack.orig/tools/list_games/main.cpp ++++ warmux-11.04.1+repack/tools/list_games/main.cpp +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <unistd.h> + #include <WARMUX_types.h> + #include <WARMUX_network.h> + #include <WARMUX_index_server.h> diff --git a/source/games-extra/warmux/FrugalBuild b/source/games-extra/warmux/FrugalBuild index 89394d8..69eb923 100644 --- a/source/games-extra/warmux/FrugalBuild +++ b/source/games-extra/warmux/FrugalBuild @@ -1,17 +1,21 @@ # Compiling Time: 0.69 SBU -# Maintainer: Devil505 <[email protected]> +# Maintainer: DeX77 <[email protected]> pkgname=warmux pkgver=11.04.1 -pkgrel=1 +pkgrel=2 pkgdesc="Warmux is free software clone of the Worms(R) series of games, developed by Team17." url="http://www.wormux.org/" -depends=('libpng>=1.4.1' 'sdl_net>=1.2.7' 'openssl>=1.0.0' 'curl>=7.20.0' 'sdl_ttf>=2.0.9' 'sdl_gfx>=2.0.19' 'sdl_mixer>=1.2.8' 'sdlimage>=1.2.6-2' 'libxml++>=2.6') +depends=('libpng>=1.4.1' 'sdl_net>=1.2.7' 'openssl>=1.0.0' 'curl>=7.20.0' 'sdl_ttf>=2.0.9' \ + 'sdl_gfx>=2.0.24' 'sdl_mixer>=1.2.8' 'sdlimage>=1.2.6-2' 'libxml++>=2.6' ) groups=('games-extra') archs=('i686' 'x86_64') up2date="Flasttar http://download.gna.org/$pkgname/" -source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2) -sha1sums=('375dbeb43a56a047daa4fcea49a9802f4b308795') +source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2 \ + 06_fix_build_sdlnet.patch 07_fix_build_gcc47.patch) +sha1sums=('375dbeb43a56a047daa4fcea49a9802f4b308795' \ + 'a73c2bdf481eff90154d9180f706aad33498baba' \ + 'b2fb11b172aa133b829327e6766a377f22cd0e7d') _F_cd_path="$pkgname-11.04" replaces=('wormux') _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
