pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/firefox52



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Mon Jul 30 12:23:11 UTC 2018

Modified Files:
        pkgsrc/www/firefox52: Makefile distinfo
        pkgsrc/www/firefox52/patches: patch-as

Log Message:
Enable JIT for ARM64.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/firefox52/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/firefox52/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox52/patches/patch-as

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox52/Makefile
diff -u pkgsrc/www/firefox52/Makefile:1.28 pkgsrc/www/firefox52/Makefile:1.29
--- pkgsrc/www/firefox52/Makefile:1.28  Mon Jul 23 04:56:12 2018
+++ pkgsrc/www/firefox52/Makefile       Mon Jul 30 12:23:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2018/07/23 04:56:12 maya Exp $
+# $NetBSD: Makefile,v 1.29 2018/07/30 12:23:11 jmcneill Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            52.9
@@ -6,7 +6,7 @@ MOZ_BRANCH_MINOR=       .0esr
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       firefox52-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}

Index: pkgsrc/www/firefox52/distinfo
diff -u pkgsrc/www/firefox52/distinfo:1.16 pkgsrc/www/firefox52/distinfo:1.17
--- pkgsrc/www/firefox52/distinfo:1.16  Tue Jun 26 21:49:32 2018
+++ pkgsrc/www/firefox52/distinfo       Mon Jul 30 12:23:11 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2018/06/26 21:49:32 maya Exp $
+$NetBSD: distinfo,v 1.17 2018/07/30 12:23:11 jmcneill Exp $
 
 SHA1 (firefox-52.9.0esr.source.tar.xz) = df3d47518b380fe934e32a288515c25435fd82a7
 RMD160 (firefox-52.9.0esr.source.tar.xz) = 8940269f0a515c0066b6ab2eea1da8963d27617b
@@ -6,7 +6,7 @@ SHA512 (firefox-52.9.0esr.source.tar.xz)
 Size (firefox-52.9.0esr.source.tar.xz) = 214087304 bytes
 SHA1 (patch-aa) = c1084caa275e57b716c3499301f7fc3f99ef5026
 SHA1 (patch-ao) = 8b7125ef3b193fca4d03386142887b2f8d5015c5
-SHA1 (patch-as) = 632ebd35287f8f97d18721d39a0514d4cdbb12cc
+SHA1 (patch-as) = b596132c7b6902c4f7ddb901e28e1437b99bb428
 SHA1 (patch-build_gyp.mozbuild) = 481270e6703e556fb87a3440cb3cfb3d4fcc4c86
 SHA1 (patch-build_moz.configure_init.configure) = f2df0c6b92aa825a61f6a4ee1f70f5443c61858e
 SHA1 (patch-build_moz.configure_keyfiles.configure) = dd46c7c29464f374eed3f0762f4653d42032c261

Index: pkgsrc/www/firefox52/patches/patch-as
diff -u pkgsrc/www/firefox52/patches/patch-as:1.1 pkgsrc/www/firefox52/patches/patch-as:1.2
--- pkgsrc/www/firefox52/patches/patch-as:1.1   Thu Apr 27 01:55:57 2017
+++ pkgsrc/www/firefox52/patches/patch-as       Mon Jul 30 12:23:11 2018
@@ -1,9 +1,10 @@
-$NetBSD: patch-as,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+$NetBSD: patch-as,v 1.2 2018/07/30 12:23:11 jmcneill Exp $
 
 * Treat DragonFly like FreeBSD.
 * Add system ICU support
+* Enable ARM64 JIT
 
---- js/src/old-configure.in.orig       2017-01-16 16:16:52.000000000 +0000
+--- js/src/old-configure.in.orig       2017-04-11 02:13:16.000000000 +0000
 +++ js/src/old-configure.in
 @@ -140,6 +140,9 @@ fi
  
@@ -15,7 +16,17 @@ $NetBSD: patch-as,v 1.1 2017/04/27 01:55
  dnl Special win32 checks
  dnl ========================================================
  
-@@ -1053,7 +1056,7 @@ dnl Checks for header files.
+@@ -957,6 +960,9 @@ arm*-*)
+     ENABLE_ION=1
+     AC_DEFINE(JS_CPU_ARM)
+     ;;
++aarch64*-*)
++    ENABLE_ION=1
++    ;;
+ sparc-*)
+ dnl ENABLE_ION=0
+     AC_DEFINE(JS_CPU_SPARC)
+@@ -1024,7 +1030,7 @@ dnl Checks for header files.
  dnl ========================================================
  AC_HEADER_DIRENT
  case "$target_os" in
@@ -24,7 +35,7 @@ $NetBSD: patch-as,v 1.1 2017/04/27 01:55
  # for stuff like -lXshm
      CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
      ;;
-@@ -1184,7 +1187,7 @@ then
+@@ -1155,7 +1161,7 @@ then
      fi
  
        case "$target" in
@@ -33,3 +44,13 @@ $NetBSD: patch-as,v 1.1 2017/04/27 01:55
                        AC_DEFINE(_REENTRANT)
                        AC_DEFINE(_THREAD_SAFE)
                        dnl -pthread links in -lpthread, so don't specify it explicitly.
+@@ -1755,6 +1761,9 @@ elif test "$CPU_ARCH" = "arm"; then
+ 
+     dnl ARM platforms may trap on unaligned accesses; catch the signal and
+     dnl recover.
++elif test "$CPU_ARCH" = "aarch64"; then
++    AC_DEFINE(JS_CODEGEN_ARM64)
++    JS_CODEGEN_ARM64=1
+ elif test "$CPU_ARCH" = "mips32"; then
+     AC_DEFINE(JS_CODEGEN_MIPS32)
+     JS_CODEGEN_MIPS32=1



Home | Main Index | Thread Index | Old Index