summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Doege2015-09-07 11:33:36 +0200
committerMartin Doege2015-09-07 11:33:36 +0200
commit2d4628fdc00192be9b5617e36945813340852f0b (patch)
tree9b09a6fbd94588a25c63e8eec0f592eaf1dfaa3a
parent5829c1b80d52f31da852ba24e747c97f2b8d7efd (diff)
downloadaur-2d4628fdc00192be9b5617e36945813340852f0b.tar.gz
switch to clang to avoid irrlicht crashes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0fd10a6be6e..b0ae511c7ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = minetest-git-leveldb
pkgdesc = Infiniminer/Minecraft-inspired building game (with LuaJIT, LevelDB, and Redis support)
- pkgver = 20150829.17b7b7c
+ pkgver = 20150907.4967e48
pkgrel = 1
url = http://www.minetest.net/
install = install
diff --git a/PKGBUILD b/PKGBUILD
index 789a5d22d18..c0d19549ca8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=minetest-git-leveldb
_pkgname=minetest
-pkgver=20150829.17b7b7c
+pkgver=20150907.4967e48
pkgrel=1
pkgdesc='Infiniminer/Minecraft-inspired building game (with LuaJIT, LevelDB, and Redis support)'
url='http://www.minetest.net/'
license=('GPL')
arch=('i686' 'x86_64')
-makedepends=('git' 'cmake')
+makedepends=('git' 'cmake' 'clang')
depends=('bzip2' 'libpng' 'libjpeg' 'mesa' 'sqlite' 'openal' 'libvorbis' 'irrlicht' 'curl' 'freetype2' 'luajit' 'leveldb' 'gettext' 'hiredis')
source=('git://github.com/minetest/'minetest{,_game}.git)
sha1sums=('SKIP' 'SKIP')
@@ -33,7 +33,7 @@ prepare() {
build() {
cd "${srcdir}/${_pkgname}"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_FREETYPE=on -DENABLE_LEVELDB=on -DENABLE_CURL=on -DENABLE_GETTEXT=on -DENABLE_REDIS=on
+ CC=clang CXX=clang++ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_FREETYPE=on -DENABLE_LEVELDB=on -DENABLE_CURL=on -DENABLE_GETTEXT=on -DENABLE_REDIS=on
make
}