extra/js fix

This commit is contained in:
Kevin Mihelich 2015-07-11 18:53:47 +00:00
parent b796d20a51
commit 25cdd8b723

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch for AArch64
# - patch for perl 5.22 deprecation
pkgname=js
pkgver=24.2.0
@ -15,15 +16,18 @@ depends=(nspr gcc-libs readline zlib)
makedepends=(python2 zip libffi)
options=(!staticlibs)
source=(http://ftp.mozilla.org/pub/mozilla.org/js/mozjs-$pkgver.tar.bz2
aarch64.patch)
aarch64.patch
perl522.patch)
md5sums=('5db79c10e049a2dc117a6e6a3bc78a8e'
'144736bd4a4825ba5a1c87439230964d')
'144736bd4a4825ba5a1c87439230964d'
'84903b1c3fcef04cbb7b0c9fa2143e43')
prepare() {
rm -rf mozjs-$pkgver/js/src/editline
rm -rf mozjs-$pkgver/js/src/ctypes/libffi
cd mozjs-$pkgver
patch -p1 -F500 -i ../aarch64.patch
patch -p1 -i ../aarch64.patch
patch -p1 -i ../perl522.patch
}
build() {