diff options
Diffstat (limited to 'libraries/tinyxml/tinyxml.SlackBuild')
-rw-r--r-- | libraries/tinyxml/tinyxml.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/tinyxml/tinyxml.SlackBuild b/libraries/tinyxml/tinyxml.SlackBuild index 3a91683ebb..c1cb95ac77 100644 --- a/libraries/tinyxml/tinyxml.SlackBuild +++ b/libraries/tinyxml/tinyxml.SlackBuild @@ -5,8 +5,8 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=tinyxml -VERSION=2.6.1 -BUILD=${BUILD:-2} +VERSION=2.6.2 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -53,6 +53,8 @@ find . \ # Define TINYXML_USE_STL to YES and use custom SLKCFLAGS. sed -i -e '/^TINYXML_USE_STL/s|=.*|= YES|' -e "s|-O3|$SLKCFLAGS|" Makefile +# Permanently define TINYXML_USE_STL in tinyxml.h. +patch -p1 < $CWD/tinyxml-2.5.3-stl.patch # Fix for bug # http://trac.filezilla-project.org/ticket/5473 # http://sourceforge.net/tracker/index.php?func=detail&aid=3031828&group_id=13559&atid=313559 @@ -63,7 +65,7 @@ make g++ -v $SLKCFLAGS -Wall -Wno-unknown-pragmas -Wno-format -shared -o \ lib${PRGNAM}.so.0.${VERSION} -Wl,-soname,lib${PRGNAM}.so.0 *.o -install -d -m 0755 $PKG/usr/{include,lib${LIBDIRSUFFIX}} +mkdir -p $PKG/usr/{include,lib${LIBDIRSUFFIX}} install -m 0755 lib${PRGNAM}.so.0.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX} ( cd $PKG/usr/lib${LIBDIRSUFFIX} ln -s lib${PRGNAM}.so.0.${VERSION} lib${PRGNAM}.so.0 |