diff options
Diffstat (limited to 'extra/qtwebkit/PKGBUILD')
-rw-r--r-- | extra/qtwebkit/PKGBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD index 7e8a3a2b5..4a703ddfe 100644 --- a/extra/qtwebkit/PKGBUILD +++ b/extra/qtwebkit/PKGBUILD @@ -5,7 +5,7 @@ pkgname=qtwebkit pkgver=2.3.beta1 _pkgver=2.3-beta1 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://trac.webkit.org/wiki/QtWebKit' pkgdesc='An open source web browser engine (Qt port)' license=('LGPL2.1' 'GPL3') @@ -25,6 +25,15 @@ sha1sums=('e5a8ffe62fc57dbbea2110241077bebbcd605fd2' build() { cd webkit-qtwebkit-23 + if [ "$CARCH" = "mips64el" ]; then + # Fix MIPS N32 support. + sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \ + Source/JavaScriptCore/wtf/Platform.h + # Don't enable JIT even if configure finds that it's not supported. + sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \ + Source/JavaScriptCore/wtf/Platform.h + fi + patch -p1 -i "${srcdir}"/use-python2.patch export QTDIR=/usr |