summaryrefslogtreecommitdiff
path: root/libraries/mysql++/mysql++.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/mysql++/mysql++.SlackBuild')
-rw-r--r--libraries/mysql++/mysql++.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/mysql++/mysql++.SlackBuild b/libraries/mysql++/mysql++.SlackBuild
index e6aad09eef..e14dbed4f7 100644
--- a/libraries/mysql++/mysql++.SlackBuild
+++ b/libraries/mysql++/mysql++.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=mysql++
-VERSION=3.0.9
+VERSION=3.1.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thanks archlinux for these
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \