diff options
author | Daniel Molina García <lluvia@singularity.fr> | 2012-06-07 23:16:05 +0200 |
---|---|---|
committer | Daniel Molina García <lluvia@singularity.fr> | 2012-06-07 23:16:05 +0200 |
commit | 553aa767554ad66acdd535fa6b736cdfb9daf7fe (patch) | |
tree | 19e0c192e7ea2a027af5c87d1687894187ca498b /community/supertux/PKGBUILD | |
parent | e0553a3f5dfaab009ae15a91bd248487c21a490f (diff) |
Adding a patch for compiling with success supertux. The version of stable debian, probably with a lighter engine, runs much better.
Diffstat (limited to 'community/supertux/PKGBUILD')
-rw-r--r-- | community/supertux/PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD index b6cc9368b..3497070cf 100644 --- a/community/supertux/PKGBUILD +++ b/community/supertux/PKGBUILD @@ -12,12 +12,17 @@ url="http://super-tux.sourceforge.net/" license=('GPL') depends=('sdl_image' 'curl' 'physfs' 'openal' 'libvorbis' 'libgl' 'glew') makedepends=('cmake' 'boost') -source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2) -md5sums=('f3f803e629ee51a9de0b366a036e393d') +source=("http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2" + 'squirrel.patch') +md5sums=('f3f803e629ee51a9de0b366a036e393d' + 'eb06315514be4f200428f14b927beb66') build() { cd ${srcdir}/${pkgname}-${pkgver} + # The following patch was taken from .-.- + patch -Np1 -i "$srcdir/squirrel.patch" + sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp sed -i '/types\.h/d' src/addon/addon_manager.cpp cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . |