diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-11-29 22:23:26 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-05 20:02:04 -0600 |
commit | d5ecd5c9c1ba473122e4d36cc82465f6371931e5 (patch) | |
tree | 283c91fefc6cfc0d2de1b65fe224e57ee52dc146 /libraries/CEGUI/CEGUI.SlackBuild | |
parent | 37d7a4860ada712472459c04aabcba9d7213fc53 (diff) | |
download | slackbuilds-d5ecd5c9c1ba473122e4d36cc82465f6371931e5.tar.gz |
libraries/CEGUI: Fixed build with tinyxml
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/CEGUI/CEGUI.SlackBuild')
-rw-r--r-- | libraries/CEGUI/CEGUI.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild index 3274cd02f2..f92016b411 100644 --- a/libraries/CEGUI/CEGUI.SlackBuild +++ b/libraries/CEGUI/CEGUI.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=CEGUI VERSION=${VERSION:-0.6.2} -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 @@ -40,7 +38,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION @@ -53,6 +51,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p0 -d XMLParserModules/TinyXMLParser -i $CWD/CEGUI-tinyxml.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |