25651093 Upgrade Firefox to version 45.8 ESR s11u3-sru
authorPetr Sumbera <petr.sumbera@oracle.com>
Fri, 03 Mar 2017 01:11:03 -0800
branchs11u3-sru
changeset 7732 6d9c5ca1de6b
parent 7731 d26ea5f4d460
child 7743 9d9ea22360ed
25651093 Upgrade Firefox to version 45.8 ESR 25682630 problem in FIREFOX/BROWSER
components/desktop/firefox/Makefile
components/desktop/firefox/patches/S11.patch
--- a/components/desktop/firefox/Makefile	Sun Mar 12 23:03:21 2017 -0700
+++ b/components/desktop/firefox/Makefile	Fri Mar 03 01:11:03 2017 -0800
@@ -32,20 +32,20 @@
 GCC_ROOT = /usr/gcc/4.8
 
 COMPONENT_NAME =		firefox
-COMPONENT_VERSION =		45.7.0esr
+COMPONENT_VERSION =		45.8.0esr
 COMPONENT_PROJECT_URL =		http://www.mozilla.com/firefox
 COMPONENT_SRC_NAME =		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_SRC = 		$(COMPONENT_SRC_NAME)
 COMPONENT_ARCHIVE =		$(COMPONENT_SRC_NAME).source.tar.xz
 COMPONENT_ARCHIVE_HASH = \
-    sha256:4b5610691d32b77dd0dec25902f0d19e530c184cedc11babb530621cbdd33143
+    sha256:7e28decd81f78070b433c69ebd7498f2e46e7cc5c5c6bff9a8cd7380d09da17a
 MOZILLA_FTP = 		        http://ftp.mozilla.org/pub/mozilla.org/$(COMPONENT_NAME)/releases/$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE_URL =		$(MOZILLA_FTP)/source/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB =		firefox/browser
 
-TPNO=				33404
+TPNO=				33946
 
-IPS_COMPONENT_VERSION =		45.7.0
+IPS_COMPONENT_VERSION =		45.8.0
 
 # There are a set of .xpi files (as given in the LANG_LIST definition below)
 # that we need. These are available under:
@@ -56,7 +56,7 @@
 # collide due to different files with identical .xpi names.
 COMPONENT_ARCHIVE_1 =           $(COMPONENT_SRC_NAME)-xpi.tar.gz
 COMPONENT_ARCHIVE_HASH_1 = \
-	sha256:6e105bce04e49d9de39e83aa77c8b6b453723a1947d78c1690f0ac4623a5eafa
+	sha256:2f7b39d1d72d2eab74e9e6fb2b7ed53362b14488755c09052ef0199c6af3bbcc
 COMPONENT_ARCHIVE_URL_1 =       $(INTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
 
 LANG_LIST = ar be bg ca cs da de el es-AR es-CL es-ES et fi \
@@ -191,8 +191,6 @@
 test:		$(BUILD_32)
 	(cd $(BUILD_DIR_32)/$(COMPONENT_TEST_DIR); $(GMAKE) $(COMPONENT_TEST_TARGETS))
 
-REQUIRED_PACKAGES += codec/libogg
-REQUIRED_PACKAGES += codec/libvorbis
 REQUIRED_PACKAGES += codec/ogg-vorbis
 ifneq ($(MACH), sparc)
 REQUIRED_PACKAGES += developer/yasm
--- a/components/desktop/firefox/patches/S11.patch	Sun Mar 12 23:03:21 2017 -0700
+++ b/components/desktop/firefox/patches/S11.patch	Fri Mar 03 01:11:03 2017 -0800
@@ -17,3 +17,14 @@
      return false;
    }
  
+--- firefox-45.8.0esr/gfx/2d/FilterNodeSoftware.cpp
++++ firefox-45.8.0esr/gfx/2d/FilterNodeSoftware.cpp
[email protected]@ -3305,7 +3305,7 @@
+   }
+   switch (aIndex) {
+     case ATT_LIGHTING_SURFACE_SCALE:
+-      mSurfaceScale = std::fpclassify(aValue) == FP_SUBNORMAL ? 0.0 : aValue;
++      mSurfaceScale = fpclassify(aValue) == FP_SUBNORMAL ? 0.0 : aValue;
+       break;
+     default:
+       MOZ_CRASH("GFX: FilterNodeLightingSoftware::SetAttribute float");