diff options
author | Niels Horn <niels.horn@gmail.com> | 2012-09-13 10:29:14 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2012-09-13 10:29:14 -0300 |
commit | d1768face2c440786e88b7cedb3ff0cc3e3bfc76 (patch) | |
tree | 5eb33d30d37a2e4146e236991505ecbb2d94c18f /libraries/irrlicht/irrlicht.SlackBuild | |
parent | 09161e04ca985bfc4e84e15d164cdf5c1cd5df71 (diff) | |
download | slackbuilds-d1768face2c440786e88b7cedb3ff0cc3e3bfc76.tar.gz |
libraries/irrlicht: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/irrlicht/irrlicht.SlackBuild')
-rw-r--r-- | libraries/irrlicht/irrlicht.SlackBuild | 11 |
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 \ |