diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD index 6037d1e3c..382eb9062 100644 --- a/extra/js/PKGBUILD +++ b/extra/js/PKGBUILD @@ -3,6 +3,7 @@ # ALARM: Kevin Mihelich # - 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() {