[arch-commits] Commit in js17/trunk (PKGBUILD)

foutrelis2 at archlinux.org foutrelis2 at archlinux.org
Sun Dec 6 08:03:36 UTC 2015


    Date: Sunday, December 6, 2015 @ 09:03:36
  Author: foutrelis2
Revision: 252654

Fix incompatibility with Perl 5.22 (FS#47276)

Modified:
  js17/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-06 08:02:55 UTC (rev 252653)
+++ PKGBUILD	2015-12-06 08:03:36 UTC (rev 252654)
@@ -15,6 +15,13 @@
 source=(http://ftp.mozilla.org/pub/mozilla.org/js/mozjs$pkgver.tar.gz)
 md5sums=('20b6f8f1140ef6e47daa3b16965c9202')
 
+prepare() {
+  cd mozjs$pkgver/js/src
+
+  # Fix incompatibility with Perl 5.22
+  sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
+}
+
 build() {
   unset CPPFLAGS
   cd mozjs$pkgver/js/src



More information about the arch-commits mailing list