games/supertuxkart: Fixed to build against gcc-4.7

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Niels Horn 2012-09-13 13:32:22 -03:00 committed by Niels Horn
parent be079286d1
commit 035feb58bf

View file

@ -3,7 +3,7 @@
# Slackware build script for supertuxkart # Slackware build script for supertuxkart
# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2009-2011 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # 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 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# revision date: 2011/12/09 # revision date: 2012/09/13
PRGNAM=supertuxkart PRGNAM=supertuxkart
VERSION=${VERSION:-0.7.3} VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -85,6 +85,7 @@ done
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
LIBS="-lpthread" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--localedir=/usr/share/locale \ --localedir=/usr/share/locale \