From 8b6ff40bc198c4db03a60bd18d94b34515c9632f Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 15 Jan 2011 14:00:59 +0100 Subject: qt, corrections --- extra/qt/Pkgfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'extra/qt/Pkgfile') 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 -- cgit v1.2.3-70-g09d2