mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/tinyxml: Updated for version 2.5.3
This commit is contained in:
parent
dd6d5a96f2
commit
16963b99c8
5 changed files with 27 additions and 10 deletions
|
@ -1,2 +1,2 @@
|
|||
TinyXML is a simple, small, C++ XML parser that can be easily
|
||||
integrated into other programs.
|
||||
integrating into other programs.
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
tinyxml: tinyxml (A small xml parser)
|
||||
tinyxml:
|
||||
tinyxml: TinyXML is a simple, small, C++ XML parser that can be easily
|
||||
tinyxml: integrated into other programs.
|
||||
tinyxml: integrating into other programs.
|
||||
tinyxml:
|
||||
tinyxml: Homepage: http://www.grinninglizard.com/tinyxml/
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
tinyxml:
|
||||
|
|
12
libraries/tinyxml/tinyxml-2.5.3-stl.patch
Normal file
12
libraries/tinyxml/tinyxml-2.5.3-stl.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -up tinyxml/tinyxml.h~ tinyxml/tinyxml.h
|
||||
--- tinyxml.h~ 2007-11-30 22:39:36.000000000 +0100
|
||||
+++ tinyxml.h 2007-11-30 22:39:36.000000000 +0100
|
||||
@@ -26,6 +26,8 @@ distribution.
|
||||
#ifndef TINYXML_INCLUDED
|
||||
#define TINYXML_INCLUDED
|
||||
|
||||
+#define TIXML_USE_STL 1
|
||||
+
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4530 )
|
|
@ -7,7 +7,7 @@
|
|||
PRGNAM=tinyxml
|
||||
VERSION=${VERSION:-2.5.3}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
@ -43,6 +43,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Always have TIXML_USE_STL defined.
|
||||
patch -p0 < $CWD/tinyxml-2.5.3-stl.patch
|
||||
|
||||
for i in tinyxml.cpp tinystr.cpp tinyxmlerror.cpp tinyxmlparser.cpp; do
|
||||
g++ -v $SLKCFLAGS -fPIC -Wall -Wno-unknown-pragmas -Wno-format -o $i.o -c $i
|
||||
done
|
||||
|
@ -76,4 +79,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -3,6 +3,8 @@ VERSION="2.5.3"
|
|||
HOMEPAGE="http://www.grinninglizard.com/tinyxml/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/tinyxml/tinyxml_2_5_3.tar.gz"
|
||||
MD5SUM="84b605a31628e7f1a6694d47bf5999cc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Larry Hajali"
|
||||
EMAIL="larryhaja[at]gmail[dot]com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="pprkut"
|
||||
|
|
Loading…
Reference in a new issue