From 2c420855ca68eaf1586a882fe85dc6ad518dcc7a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 25 Mar 2016 11:04:18 +0100 Subject: firefox: update to version 45.0 --- package/firefox/patches/patch-config_system-headers | 11 +++++++++++ .../patches/patch-dom_media_webm_WebMDemuxer_cpp | 10 ---------- ...ions_spellcheck_hunspell_src_hunspell_alloc_hooks_h | 11 ----------- .../patches/patch-gfx_angle_src_common_angleutils_cpp | 8 ++++---- package/firefox/patches/patch-js_src_Makefile_in | 11 ----------- .../patch-xpcom_base_nsMemoryReporterManager_cpp | 18 ++++++++++++++++++ package/firefox/patches/patch-xpcom_ds_nsMathUtils_h | 6 +++--- 7 files changed, 36 insertions(+), 39 deletions(-) create mode 100644 package/firefox/patches/patch-config_system-headers delete mode 100644 package/firefox/patches/patch-dom_media_webm_WebMDemuxer_cpp delete mode 100644 package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h delete mode 100644 package/firefox/patches/patch-js_src_Makefile_in create mode 100644 package/firefox/patches/patch-xpcom_base_nsMemoryReporterManager_cpp (limited to 'package/firefox/patches') diff --git a/package/firefox/patches/patch-config_system-headers b/package/firefox/patches/patch-config_system-headers new file mode 100644 index 000000000..6b0f69302 --- /dev/null +++ b/package/firefox/patches/patch-config_system-headers @@ -0,0 +1,11 @@ +--- firefox-45.0.orig/config/system-headers 2016-03-03 22:47:52.000000000 +0100 ++++ firefox-45.0/config/system-headers 2016-03-14 19:05:49.143792141 +0100 +@@ -457,6 +457,8 @@ frame/req.h + freetype/freetype.h + freetype/ftcache.h + freetype/ftfntfmt.h ++freetype/ftfntfmt.h ++freetype/ftfntfmt.h + freetype/ftglyph.h + freetype/ftsynth.h + freetype/ftoutln.h diff --git a/package/firefox/patches/patch-dom_media_webm_WebMDemuxer_cpp b/package/firefox/patches/patch-dom_media_webm_WebMDemuxer_cpp deleted file mode 100644 index f8df2eb45..000000000 --- a/package/firefox/patches/patch-dom_media_webm_WebMDemuxer_cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- firefox-42.0.orig/dom/media/webm/WebMDemuxer.cpp 2015-10-29 23:17:57.000000000 +0100 -+++ firefox-42.0/dom/media/webm/WebMDemuxer.cpp 2015-12-08 05:28:13.471186350 +0100 -@@ -17,6 +17,7 @@ - #include "nsAutoRef.h" - #include "NesteggPacketHolder.h" - #include "XiphExtradata.h" -+#include "prprf.h" - - #include - #include diff --git a/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h b/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h deleted file mode 100644 index 5b361b846..000000000 --- a/package/firefox/patches/patch-extensions_spellcheck_hunspell_src_hunspell_alloc_hooks_h +++ /dev/null @@ -1,11 +0,0 @@ ---- mozilla-release.orig/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h 2013-09-11 01:15:00.000000000 +0200 -+++ mozilla-release/extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h 2013-10-24 11:28:30.000000000 +0200 -@@ -33,6 +33,8 @@ - - #ifndef alloc_hooks_h__ - #define alloc_hooks_h__ -+/* prevent free/calloc from sched.h to be included */ -+#undef _GNU_SOURCE - - /** - * This file is force-included in hunspell code. Its purpose is to add memory diff --git a/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp b/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp index 3839a6551..75bcd504e 100644 --- a/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp +++ b/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp @@ -1,7 +1,7 @@ ---- mozilla-release.orig/gfx/angle/src/common/angleutils.cpp 2015-10-14 23:41:53.000000000 +0200 -+++ mozilla-release/gfx/angle/src/common/angleutils.cpp 2015-10-22 21:35:50.503893962 +0200 -@@ -8,6 +8,7 @@ - #include "debug.h" +--- firefox-45.0.orig/gfx/angle/src/common/angleutils.cpp 2016-03-03 22:48:06.000000000 +0100 ++++ firefox-45.0/gfx/angle/src/common/angleutils.cpp 2016-03-13 21:15:29.523245406 +0100 +@@ -9,6 +9,7 @@ + #include #include +#include diff --git a/package/firefox/patches/patch-js_src_Makefile_in b/package/firefox/patches/patch-js_src_Makefile_in deleted file mode 100644 index b340774ee..000000000 --- a/package/firefox/patches/patch-js_src_Makefile_in +++ /dev/null @@ -1,11 +0,0 @@ ---- mozilla-release.orig/js/src/Makefile.in 2015-10-14 23:41:38.000000000 +0200 -+++ mozilla-release/js/src/Makefile.in 2015-10-22 21:35:50.515893169 +0200 -@@ -16,7 +16,7 @@ run_for_side_effects := $(shell echo 'MA - - ifdef JS_HAS_CTYPES - ifdef MOZ_NATIVE_FFI --LOCAL_INCLUDES = $(MOZ_FFI_CFLAGS) -+LOCAL_INCLUDES = - endif - - # Windows needs this to be linked with a static library. diff --git a/package/firefox/patches/patch-xpcom_base_nsMemoryReporterManager_cpp b/package/firefox/patches/patch-xpcom_base_nsMemoryReporterManager_cpp new file mode 100644 index 000000000..e13b23274 --- /dev/null +++ b/package/firefox/patches/patch-xpcom_base_nsMemoryReporterManager_cpp @@ -0,0 +1,18 @@ +--- firefox-45.0.orig/xpcom/base/nsMemoryReporterManager.cpp 2016-03-03 22:48:07.000000000 +0100 ++++ firefox-45.0/xpcom/base/nsMemoryReporterManager.cpp 2016-03-15 08:42:15.629014068 +0100 +@@ -157,6 +157,7 @@ ResidentUniqueDistinguishedAmount(int64_ + nsresult + SystemHeapSize(int64_t* aSizeOut) + { ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + struct mallinfo info = mallinfo(); + + // The documentation in the glibc man page makes it sound like |uordblks| +@@ -170,6 +171,7 @@ SystemHeapSize(int64_t* aSizeOut) + // shouldn't be a problem. Nonetheless, cast the |int|s to |size_t| before + // adding them to provide a small amount of extra overflow protection. + *aSizeOut = size_t(info.hblkhd) + size_t(info.uordblks); ++#endif + return NS_OK; + } + diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h index a22b709eb..3d4d0546b 100644 --- a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h +++ b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h @@ -1,6 +1,6 @@ ---- mozilla-release.orig/xpcom/ds/nsMathUtils.h 2015-10-14 23:41:52.000000000 +0200 -+++ mozilla-release/xpcom/ds/nsMathUtils.h 2015-10-22 21:35:50.563890005 +0200 -@@ -105,12 +105,16 @@ NS_finite(double aNum) +--- firefox-45.0.orig/xpcom/ds/nsMathUtils.h 2016-03-03 22:48:07.000000000 +0100 ++++ firefox-45.0/xpcom/ds/nsMathUtils.h 2016-03-13 21:15:29.543246177 +0100 +@@ -103,12 +103,16 @@ NS_finite(double aNum) #ifdef WIN32 // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800. return !!_finite(aNum); -- cgit v1.2.3