mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
added a patch for the latest boost version
This commit is contained in:
parent
8028930237
commit
029d94b06d
@ -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
|
||||
|
12
knightsgame/boost.patch
Normal file
12
knightsgame/boost.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user