summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/CEGUI/CEGUI-tinyxml.patch15
-rw-r--r--libraries/CEGUI/CEGUI.SlackBuild8
2 files changed, 19 insertions, 4 deletions
diff --git a/libraries/CEGUI/CEGUI-tinyxml.patch b/libraries/CEGUI/CEGUI-tinyxml.patch
new file mode 100644
index 0000000000..64ba9306c9
--- /dev/null
+++ b/libraries/CEGUI/CEGUI-tinyxml.patch
@@ -0,0 +1,15 @@
+--- CEGUITinyXMLParser.cpp.orig 2009-10-16 11:56:28.000000000 +0100
++++ CEGUITinyXMLParser.cpp 2009-10-16 11:56:35.000000000 +0100
+@@ -131,10 +131,10 @@
+ {
+ switch(childNode->Type())
+ {
+- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::ELEMENT:
++ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_ELEMENT:
+ processElement(childNode->ToElement());
+ break;
+- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TEXT:
++ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_TEXT:
+ if (childNode->ToText()->Value() != '\0')
+ d_handler->text((utf8*)childNode->ToText()->Value());
+ break;
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 \