summaryrefslogtreecommitdiff
path: root/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libqsqlpsql/libqsqlpsql.SlackBuild')
-rw-r--r--libraries/libqsqlpsql/libqsqlpsql.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/libqsqlpsql/libqsqlpsql.SlackBuild b/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
index d108b64ca3..f4ac2bf0e4 100644
--- a/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
+++ b/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libqsqlpsql
-# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libqsqlpsql
-VERSION=4.6.2_2d3d3e5
+VERSION=4.7.0_7abde40
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,11 @@ if [ $ARCH = "i486" ]; then
patch -p1 -i $CWD/qt.x86.cflags.diff
fi
+# Add support for postgresql 9
+# Patches taken from http://bugreports.qt.nokia.com/browse/QTBUG-14206
+patch -p1 -i $CWD/qsql_psql_cpp.patch
+patch -p1 -i $CWD/qsql_psql_h.patch
+
cd src/plugins/sqldrivers/psql
qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \