summaryrefslogtreecommitdiff
path: root/community/smc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/smc/PKGBUILD')
-rw-r--r--community/smc/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/smc/PKGBUILD b/community/smc/PKGBUILD
index de781bee4..4ed1af907 100644
--- a/community/smc/PKGBUILD
+++ b/community/smc/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 67212 2012-03-05 08:59:37Z ibiru $
+# $Id: PKGBUILD 74010 2012-07-18 01:09:00Z ibiru $
# Maintainer:
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>
pkgname=smc
pkgver=1.9
-pkgrel=15
+pkgrel=16
pkgdesc="Secret Maryo Chronicles"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.secretmaryo.org/"
@@ -14,10 +14,12 @@ depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'cegui' 'boost-libs' 'smc-data')
makedepends=('autoconf' 'automake' 'boost')
source=(http://downloads.sourceforge.net/smclone/$pkgname-$pkgver.tar.bz2
smc-for-cegui-v0-7.diff
+ boost_filesystem3.diff
smc.desktop
smc.png)
md5sums=('75ab7826303c49aec25b052a8b90287f'
'51dfea21b741ad19df14e738df52f1cf'
+ '309a5a6d4b3c0b3dc5e1b7f4de84086f'
'80fe208132ff41dd7677a53ee429ecdb'
'efca7580e28748625eb676c9d24ee122')
@@ -26,8 +28,10 @@ build() {
# to remove when smc will be compatible with cegui-0.7.x
patch -Np1 -i "${srcdir}/smc-for-cegui-v0-7.diff"
- # fix for boost-1.46
- export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
+ # fix compilation
+ export CXXFLAGS="${CXXFLAGS} -fpermissive"
+ # fix for boost >= 1.50
+ patch -Np1 -i "${srcdir}/boost_filesystem3.diff"
./autogen.sh
LIBS+="-lX11 -lboost_system" ./configure --prefix=/usr