mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/js185: v8 update
This commit is contained in:
parent
2c9dad0277
commit
e8f7729465
2 changed files with 28 additions and 2 deletions
|
@ -0,0 +1,22 @@
|
|||
From: Mike Hommey <mh@glandium.org>
|
||||
Date: Fri, 18 Mar 2011 09:25:57 +0100
|
||||
Subject: Bug 638056 - Avoid "The cacheFlush support is missing on this
|
||||
platform" error on exotic platforms
|
||||
|
||||
---
|
||||
js/src/Makefile.in | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
Index: mozjs-1.8.5-1.0.0+dfsg/js/src/Makefile.in
|
||||
===================================================================
|
||||
--- mozjs-1.8.5-1.0.0+dfsg.orig/js/src/Makefile.in 2012-01-21 15:57:37.499703219 +0100
|
||||
+++ mozjs-1.8.5-1.0.0+dfsg/js/src/Makefile.in 2012-01-21 15:57:40.523703229 +0100
|
||||
@@ -382,7 +382,7 @@
|
||||
# END enclude sources for V8 dtoa
|
||||
#############################################
|
||||
|
||||
-ifeq (,$(filter-out powerpc sparc,$(TARGET_CPU)))
|
||||
+ifeq (,$(filter arm %86 x86_64,$(TARGET_CPU)))
|
||||
|
||||
VPATH += $(srcdir)/assembler \
|
||||
$(srcdir)/assembler/wtf \
|
|
@ -4,6 +4,7 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to fix mozilla stupidity
|
||||
# - patch to fix mozilla stupidity
|
||||
# - patch for AArch64
|
||||
|
||||
pkgname=js185
|
||||
pkgver=1.0.0
|
||||
|
@ -16,10 +17,12 @@ depends=(nspr gcc-libs)
|
|||
makedepends=(python2 zip)
|
||||
options=(!staticlibs)
|
||||
source=(http://ftp.mozilla.org/pub/mozilla.org/js/$pkgname-$pkgver.tar.gz
|
||||
ihatemozilla.patch no-neon.patch)
|
||||
ihatemozilla.patch no-neon.patch
|
||||
Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch)
|
||||
md5sums=('a4574365938222adca0a6bd33329cb32'
|
||||
'9add35f52965e4643b9235307d0d6cc5'
|
||||
'5d4817fadff71765c9b5d1f7b90f904f')
|
||||
'5d4817fadff71765c9b5d1f7b90f904f'
|
||||
'31d3273a985b88938e229ded36271286')
|
||||
|
||||
build() {
|
||||
cd js-1.8.5/js/src
|
||||
|
@ -29,6 +32,7 @@ build() {
|
|||
|
||||
patch -p3 -i "$srcdir/ihatemozilla.patch"
|
||||
patch -p3 -i "$srcdir/no-neon.patch"
|
||||
[[ $CARCH == "aarch64" ]] && patch -p3 -i "$srcdir/Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch"
|
||||
|
||||
./configure --prefix=/usr --with-system-nspr \
|
||||
--enable-threadsafe
|
||||
|
|
Loading…
Reference in a new issue