summaryrefslogtreecommitdiffstats
path: root/extra/qt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt/Pkgfile')
-rwxr-xr-xextra/qt/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/qt/Pkgfile b/extra/qt/Pkgfile
index e7342e79b..2e713b365 100755
--- a/extra/qt/Pkgfile
+++ b/extra/qt/Pkgfile
@@ -6,10 +6,12 @@
name=qt
version=4.7.1
-release=3
+release=4
_name=qt-everywhere-opensource-src-${version}
-source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz)
+source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz
+ qt-4.7.1-fix-qtbug-15857.patch
+ qt-4.7.1-add-postgresql9.patch)
build() {
unset QMAKESPC
@@ -19,6 +21,9 @@ build() {
cd ${_name}
+ patch -Np1 -i ../qt-4.7.1-fix-qtbug-15857.patch
+ patch -Np1 -i ../qt-4.7.1-add-postgresql9.patch
+
sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
sed -i "/^QMAKE_RPATH/s| -Wl,-rpath,||g" mkspecs/common/g++.conf
sed -i "/^QMAKE_LFLAGS\s/s|+=|+= $LDFLAGS|g" mkspecs/common/g++.conf