[arch-commits] Commit in irrlicht/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Sep 3 18:13:48 UTC 2015


    Date: Thursday, September 3, 2015 @ 20:13:48
  Author: svenstaro
Revision: 139148

upgpkg: irrlicht 1.8.2-2

Try using clang++ instead of g++ to fix segfault

Modified:
  irrlicht/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-03 17:29:59 UTC (rev 139147)
+++ PKGBUILD	2015-09-03 18:13:48 UTC (rev 139148)
@@ -8,13 +8,13 @@
 pkgbase=irrlicht
 pkgname=('irrlicht' 'irrlicht-docs')
 pkgver=1.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc="An open source high performance realtime 3D graphics engine."
 arch=('i686' 'x86_64')
 url="http://irrlicht.sourceforge.net/"
 license=('ZLIB')
 depends=('libgl' 'libjpeg' 'bzip2' 'libpng')
-makedepends=('mesa' 'unzip' 'libxcursor' 'wget')
+makedepends=('mesa' 'unzip' 'libxcursor' 'clang')
 optdepends=('libxcursor: run examples')
 source=("http://downloads.sourceforge.net/irrlicht/$pkgname-$pkgver.zip")
 noextract=($pkgname-$pkgver.zip)
@@ -24,17 +24,12 @@
   unzip $pkgbase-$pkgver.zip
 
   cd $srcdir/$pkgbase-$pkgver/source/Irrlicht
-
-  # I'm so sorry for this but Irrlicht people don't care about Linux much
-  #for file in COpenGLExtensionHandler.h glext.h glxext.h wglext.h; do
-  #    wget http://sourceforge.net/p/irrlicht/code/4600/tree/trunk/source/Irrlicht/${file}?format=raw --output-document ${file}
-  #done
 }
 
 build() {
   cd $srcdir/$pkgbase-$pkgver/source/Irrlicht
 
-  make NDEBUG=1 sharedlib
+  make CXX=clang++ NDEBUG=1 sharedlib
 }
 
 package_irrlicht() {



More information about the arch-commits mailing list