summaryrefslogtreecommitdiff
path: root/extra/qtwebkit/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-09 23:18:08 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-09 23:18:08 +0100
commitdf609724f30aaccfb05d9fb73f68e7a37118f2f8 (patch)
tree37eb7abe9039250fe17a83ecdc8bd29e6cd1e03a /extra/qtwebkit/PKGBUILD
parentf0ab416208be17c176b9430a3537f05b5c653aec (diff)
Fix qtwebkit build.
Diffstat (limited to 'extra/qtwebkit/PKGBUILD')
-rw-r--r--extra/qtwebkit/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 4a703ddfe..c7dcd715e 100644
--- a/extra/qtwebkit/PKGBUILD
+++ b/extra/qtwebkit/PKGBUILD
@@ -16,26 +16,31 @@ _qtver=4.8.4
source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${_pkgver}"
"http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-${_qtver}.tar.gz"
'use-python2.patch'
- 'qwebview.patch')
+ 'qwebview.patch'
+ 'LLIntCLoop32BigEndian.patch')
sha1sums=('e5a8ffe62fc57dbbea2110241077bebbcd605fd2'
'f5880f11c139d7d8d01ecb8d874535f7d9553198'
'315b6ff603f35e5492a036f7082f6aa075dfb607'
- 'fed0c1a90e3997b5575dbc83d6ea23bc46097a6f')
+ 'fed0c1a90e3997b5575dbc83d6ea23bc46097a6f'
+ 'af830ae24e2ae5113754c9ae524d27ec0a28a9d6')
build() {
cd webkit-qtwebkit-23
if [ "$CARCH" = "mips64el" ]; then
- # Fix MIPS N32 support.
+ # 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.
+ Source/WTF/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
+ Source/WTF/wtf/Platform.h
fi
patch -p1 -i "${srcdir}"/use-python2.patch
+ # Fix https://bugs.webkit.org/show_bug.cgi?id=103128, original patch with ChangeLog stripped.
+ patch -p0 -i "${srcdir}/LLIntCLoop32BigEndian.patch"
+
export QTDIR=/usr
Tools/Scripts/build-webkit --qt \
--makeargs="${MAKEFLAGS}" \