summaryrefslogtreecommitdiff
path: root/community/warmux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-04 00:04:04 +0000
committerroot <root@rshg054.dnsready.net>2012-09-04 00:04:04 +0000
commit8b7b4f2e5a808cb0c1226c23469fa57751eba190 (patch)
treed3b039c682e3991febbfa886b15b31cf09d048b8 /community/warmux
parent81de702a6fc79e430129a7d2b708d90f43ae5ba1 (diff)
Tue Sep 4 00:04:04 UTC 2012
Diffstat (limited to 'community/warmux')
-rw-r--r--community/warmux/PKGBUILD8
-rw-r--r--community/warmux/gcc-fix.patch11
2 files changed, 15 insertions, 4 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD
index dcf0fecad..1f266bf67 100644
--- a/community/warmux/PKGBUILD
+++ b/community/warmux/PKGBUILD
@@ -1,23 +1,23 @@
-# $Id: PKGBUILD 63773 2012-02-05 12:13:45Z ibiru $
+# $Id: PKGBUILD 75821 2012-09-01 20:39:50Z heftig $
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: pukyxd
# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
pkgname=warmux
pkgver=11.04.1
-pkgrel=4
+pkgrel=5
pkgdesc="A clone of the worms game"
arch=('i686' 'x86_64')
url="http://www.wormux.org/"
license=('GPL')
-makedepends=('pkgconfig' 'libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2')
+makedepends=('pkgconfig' 'libxml++' 'sdl_image' 'sdl_gfx>=2.0.24' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2')
replaces=('wormux')
source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2
include-zlib.patch
gcc-fix.patch)
md5sums=('26ff65c43a9bb61a3f0529c98b943e35'
'c8285955e880f80e3c68312715a3061c'
- '693176b72c9568c0c223be76ea7dd0d2')
+ 'ab50d613d3fa3f71262b1d2fc71641b1')
build() {
cd "${srcdir}/${pkgname}-${pkgver/.1/}"
diff --git a/community/warmux/gcc-fix.patch b/community/warmux/gcc-fix.patch
index d4ceb0746..1ac476b92 100644
--- a/community/warmux/gcc-fix.patch
+++ b/community/warmux/gcc-fix.patch
@@ -23,3 +23,14 @@ diff -ru warmux-11.04/lib/warmux/include/WARMUX_action.h warmux-11.04-new/lib/wa
~Action();
+Description: Fix FTBFS with gcc 4.7.
+Author: Felix Geyer <debfx-pkg@fobos.de>
+
+--- 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>