summaryrefslogtreecommitdiff
path: root/community/warmux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/warmux
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/warmux')
-rw-r--r--community/warmux/PKGBUILD41
-rw-r--r--community/warmux/gcc-fix.patch36
-rw-r--r--community/warmux/include-zlib.patch11
3 files changed, 0 insertions, 88 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD
deleted file mode 100644
index 9a35825f6..000000000
--- a/community/warmux/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 90103 2013-05-06 19:39:59Z foutrelis $
-# Contributor: Eric Belanger <eric@archlinux.org>
-# Contributor: pukyxd
-# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
-
-pkgname=warmux
-pkgver=11.04.1
-pkgrel=6
-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.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'
- 'ab50d613d3fa3f71262b1d2fc71641b1')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver/.1/}"
-
- # libpng 1.5 fix
- patch -Np1 -i ../include-zlib.patch
- # gcc fix
- patch -Np1 -i ../gcc-fix.patch
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- depends=('libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2' "warmux-data>=${pkgver/.1/}")
-
- cd "${srcdir}/${pkgname}-${pkgver/.1/}"
-
- make DESTDIR="${pkgdir}" install
- rm -r ${pkgdir}/usr/share/warmux
-}
diff --git a/community/warmux/gcc-fix.patch b/community/warmux/gcc-fix.patch
deleted file mode 100644
index 1ac476b92..000000000
--- a/community/warmux/gcc-fix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-## i-love-you-lordheavy.patch [diff]
-diff -ru warmux-11.04/lib/warmux/action/action.cpp warmux-11.04-new/lib/warmux/action/action.cpp
---- warmux-11.04/lib/warmux/action/action.cpp 2011-04-28 21:03:14.000000000 +0200
-+++ warmux-11.04-new/lib/warmux/action/action.cpp 2012-01-29 09:51:16.680251815 +0100
-@@ -81,7 +81,7 @@
- }
-
- // Build an action from a network packet
--Action::Action(const char *buffer, DistantComputer* _creator)
-+Action::Action(char *buffer, DistantComputer* _creator)
- {
- m_creator = _creator;
-
-diff -ru warmux-11.04/lib/warmux/include/WARMUX_action.h warmux-11.04-new/lib/warmux/include/WARMUX_action.h
---- warmux-11.04/lib/warmux/include/WARMUX_action.h 2011-04-28 21:03:13.000000000 +0200
-+++ warmux-11.04-new/lib/warmux/include/WARMUX_action.h 2012-01-29 09:52:14.246921833 +0100
-@@ -168,7 +168,7 @@
- Action(Action_t type, Double value1, Double value2);
-
- // Build an action from a network packet
-- Action(const char* buffer, DistantComputer* _creator);
-+ Action(char* buffer, DistantComputer* _creator);
-
- ~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>
diff --git a/community/warmux/include-zlib.patch b/community/warmux/include-zlib.patch
deleted file mode 100644
index c7e77aba1..000000000
--- a/community/warmux/include-zlib.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -uNr warmux-11.04.orig/src/graphic/surface.cpp warmux-11.04/src/graphic/surface.cpp
---- warmux-11.04.orig/src/graphic/surface.cpp 2011-09-19 09:26:52.392650465 +0200
-+++ warmux-11.04/src/graphic/surface.cpp 2011-09-19 09:26:19.417648189 +0200
-@@ -25,6 +25,7 @@
- #include <SDL_image.h>
- #include <SDL_rotozoom.h>
- #include <png.h>
-+#include <zlib.h>
-
- #include "graphic/surface.h"
- #include "tool/math_tools.h"