diff --git a/knightsgame/PKGBUILD b/knightsgame/PKGBUILD index 18b132035..e89cc151d 100644 --- a/knightsgame/PKGBUILD +++ b/knightsgame/PKGBUILD @@ -8,7 +8,7 @@ pkgname=knightsgame _pkgname=knights pkgver=022 -pkgrel=1 +pkgrel=2 pkgdesc='Action game that was originally released for Amiga in 1994.' arch=('i686' 'x86_64') url='http://www.knightsgame.org.uk/' @@ -17,8 +17,14 @@ depends=(boost-libs curl 'directfb' fontconfig sdl) makedepends=(boost) options=('!makeflags') categories=('games') -source=("http://www.knightsgame.org.uk/files/${_pkgname}_${pkgver}_src.tar.gz") -md5sums=('e840dacb0ccda4bd48768bd4e7068be0') +source=("http://www.knightsgame.org.uk/files/${_pkgname}_${pkgver}_src.tar.gz" "boost.patch") +md5sums=('e840dacb0ccda4bd48768bd4e7068be0' + 'a74cf2b78a176385081d5d9d99024dee') + +prepare() { + cd ${_pkgname}_${pkgver}_src + patch -R -p2 < ${srcdir}/boost.patch # -R because I created the patch the wrong way around... +} build() { cd ${_pkgname}_${pkgver}_src diff --git a/knightsgame/boost.patch b/knightsgame/boost.patch new file mode 100644 index 000000000..d60ce7fae --- /dev/null +++ b/knightsgame/boost.patch @@ -0,0 +1,12 @@ +--- src/knights_022_src/src/engine/impl/legacy_action.cpp 2013-10-06 10:09:13.904505350 +0000 ++++ src/knights_022_src/src/engine/impl/legacy_action.cpp 2013-10-06 10:07:48.254564184 +0000 +@@ -26,9 +26,6 @@ + #include "legacy_action.hpp" + #include "my_ctype.hpp" + +-#include +-#include +- + + // + // ActionPars