diff options
Diffstat (limited to 'misc/stardict/stardict.SlackBuild')
-rw-r--r-- | misc/stardict/stardict.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/stardict/stardict.SlackBuild b/misc/stardict/stardict.SlackBuild index f4d460e579..3673835a17 100644 --- a/misc/stardict/stardict.SlackBuild +++ b/misc/stardict/stardict.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for StarDict # Copyright 2008-2009 Murat D. Kadirov <banderols@gmail.com> +# Copyright 2012 Binh Nguyen <binhnguyen@fastmail.fm> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +25,13 @@ PRGNAM=stardict VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -77,6 +76,9 @@ patch src/eggtrayicon.c -p1 < $CWD/patches/stardict-transparent.patch # Incorporate some fixes for gcc44 into a deb patch for gcc43 patch -p1 < $CWD/patches/fixup_build_on_gcc44.patch +# Fix building against gcc-4.7.x +patch -p1 < $CWD/patches/stardict-3.0.1-gcc47.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |