added a patch for the latest boost version

This commit is contained in:
Fabian 2013-10-06 10:15:34 +00:00
parent 8028930237
commit 029d94b06d
2 changed files with 21 additions and 3 deletions

View File

@ -8,7 +8,7 @@
pkgname=knightsgame pkgname=knightsgame
_pkgname=knights _pkgname=knights
pkgver=022 pkgver=022
pkgrel=1 pkgrel=2
pkgdesc='Action game that was originally released for Amiga in 1994.' pkgdesc='Action game that was originally released for Amiga in 1994.'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://www.knightsgame.org.uk/' url='http://www.knightsgame.org.uk/'
@ -17,8 +17,14 @@ depends=(boost-libs curl 'directfb' fontconfig sdl)
makedepends=(boost) makedepends=(boost)
options=('!makeflags') options=('!makeflags')
categories=('games') categories=('games')
source=("http://www.knightsgame.org.uk/files/${_pkgname}_${pkgver}_src.tar.gz") source=("http://www.knightsgame.org.uk/files/${_pkgname}_${pkgver}_src.tar.gz" "boost.patch")
md5sums=('e840dacb0ccda4bd48768bd4e7068be0') 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() { build() {
cd ${_pkgname}_${pkgver}_src cd ${_pkgname}_${pkgver}_src

12
knightsgame/boost.patch Normal file
View File

@ -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 <boost/thread/locks.hpp>
-#include <boost/thread/lock_guard.hpp>
-
//
// ActionPars