summaryrefslogtreecommitdiff
path: root/libraries/irrlicht/irrlicht.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht/irrlicht.SlackBuild')
-rw-r--r--libraries/irrlicht/irrlicht.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild
index e4ef02e98c..b916bda023 100644
--- a/libraries/irrlicht/irrlicht.SlackBuild
+++ b/libraries/irrlicht/irrlicht.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for irrlicht
# Copyright 2010 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2011-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date 2011/10/26
+# Revision date 2012/08/09
PRGNAM=irrlicht
VERSION=${VERSION:-svn_3843}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -76,8 +76,13 @@ find . \
# Based on a patch from Debian, adapted for the newer irrlicht versions
patch -p1 < $CWD/correct-install.diff
+# Patch for gcc-4.7 - included upstream on 2012/06/18.
+# Thanks to Larry Hajali for the info!
+patch -p1 < $CWD/irrlicht_gcc47.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+NDEBUG=1 \
make -C source/Irrlicht \
sharedlib staticlib
make -C source/Irrlicht install \