Commit 029d94b0 authored by Fabian's avatar Fabian

added a patch for the latest boost version

parent 80289302
......@@ -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
......
--- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment