firefox: updated to 52.0

This commit is contained in:
Fredrik Rinnestam 2017-03-06 23:48:22 +01:00
parent 4dc60d6175
commit d3c79efc46
5 changed files with 124 additions and 394 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
05d8d655983d21d5059d5c886b2e6a9c firefox-51.0.1.source.tar.xz
76cf84d46590f60f13b0b3dda65d19ae firefox-52.0.source.tar.xz
afe61c7760e835bd12d5dfd40af4ec84 firefox-install-dir.patch
cf6971669f70b440cb6ff8df8b2722ae firefox.desktop

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aJ3i8EpOM3ZCpivIOkf1FChEfFa6mtiZtbzXA0U0wcosHk1xQN/7gVBXWSZCkTIMfsh4Z/Xym1gJFfONvpn6gg=
SHA256 (Pkgfile) = d5cb8c96815fec08b72ca52a5b53c1f84790b1d4e49b40a2086f2af8b4ffe0a7
SHA256 (.footprint) = 204fb4f6c63640b102f90df8e485e9220e71d4f1a9363daa8c270c58b2ba8017
SHA256 (firefox-51.0.1.source.tar.xz) = 30ba00ba716ea1eeda526e2ccc8642f8d18a836793fde50e87a4fcb9d9fccca9
RWSE3ohX2g5d/SmbYs5t+5MQaaCh8walbo3hjznxkrmkLwdV6xNuB09uUTKt80Jyktalr2AmysYEU+UnYirkCxKwTz2HFfrh3Qw=
SHA256 (Pkgfile) = 164aece37a73a2195d1e418f70cdf2aeb101a946d5107172fd6025e6eabcdf8c
SHA256 (.footprint) = 1e5744d48b8f43cdd940862bee7f5707759b2dbee55315bc2e39de4aba5afcaf
SHA256 (firefox-52.0.source.tar.xz) = 494ec86875ea60043658e402b664ccd5af4709acc3a478de8729f7cbac9ea3c1
SHA256 (firefox-install-dir.patch) = 32c0102521b7296627ba457575c742746400680c3aecd18be8b1b382dccdc0ce
SHA256 (firefox.desktop) = 8ba3439f3dfc5cab883641969c93d8d15f8f20d7188d9568346b2edad52d6f91

View File

@ -4,7 +4,7 @@
# Depends on: nss, autoconf-2.13, unzip, zip, libidl, gtk, gtk3, python, alsa-lib, xorg-libxt, yasm, mesa3d
name=firefox
version=51.0.1
version=52.0
release=1
source=(http://ftp.mozilla.org/pub/firefox/releases/$version/source/firefox-$version.source.tar.xz
firefox-install-dir.patch firefox.desktop)
@ -31,6 +31,7 @@ cat <<- EOF > .mozconfig
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman
ac_add_options --enable-system-sqlite
ac_add_options --enable-alsa
ac_add_options --with-pthreads
ac_add_options --enable-official-branding
ac_add_options --with-distribution-id=nu.crux

View File

@ -1,71 +0,0 @@
diff -r 34544e6dfc19 -r 55212130f19d config/gcc-stl-wrapper.template.h
--- a/config/gcc-stl-wrapper.template.h Fri Mar 11 11:45:09 2016 +0800
+++ b/config/gcc-stl-wrapper.template.h Thu Mar 10 16:54:05 2016 +0900
@@ -12,33 +12,40 @@
// compiling ObjC.
#if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS)
# error "STL code can only be used with -fno-exceptions"
#endif
// Silence "warning: #include_next is a GCC extension"
#pragma GCC system_header
+// Don't include mozalloc for cstdlib. See bug 1245076.
+#ifndef moz_dont_include_mozalloc_for_cstdlib
+# define moz_dont_include_mozalloc_for_cstdlib
+#endif
+#ifndef moz_dont_include_mozalloc_for_${HEADER}
// mozalloc.h wants <new>; break the cycle by always explicitly
// including <new> here. NB: this is a tad sneaky. Sez the gcc docs:
//
// `#include_next' does not distinguish between <file> and "file"
// inclusion, nor does it check that the file you specify has the
// same name as the current file. It simply looks for the file
// named, starting with the directory in the search path after the
// one where the current file was found.
-#include_next <new>
+# include_next <new>
// See if we're in code that can use mozalloc. NB: this duplicates
// code in nscore.h because nscore.h pulls in prtypes.h, and chromium
// can't build with that being included before base/basictypes.h.
-#if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
-# include "mozilla/mozalloc.h"
-#else
-# error "STL code can only be used with infallible ::operator new()"
+# if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
+# include "mozilla/mozalloc.h"
+# else
+# error "STL code can only be used with infallible ::operator new()"
+# endif
+
#endif
#if defined(DEBUG) && !defined(_GLIBCXX_DEBUG)
// Enable checked iterators and other goodies
//
// FIXME/bug 551254: gcc's debug STL implementation requires -frtti.
// Figure out how to resolve this with -fno-rtti. Maybe build with
// -frtti in DEBUG builds?
diff -r 34544e6dfc19 -r 55212130f19d gfx/graphite2/src/Collider.cpp
--- a/gfx/graphite2/src/Collider.cpp Fri Mar 11 11:45:09 2016 +0800
+++ b/gfx/graphite2/src/Collider.cpp Thu Mar 10 16:54:05 2016 +0900
@@ -21,17 +21,17 @@
Alternatively, the contents of this file may be used under the terms of the
Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public
License, as published by the Free Software Foundation, either version 2
of the License or (at your option) any later version.
*/
#include <algorithm>
#include <limits>
-#include <math.h>
+#include <cmath>
#include <string>
#include <functional>
#include "inc/Collider.h"
#include "inc/Segment.h"
#include "inc/Slot.h"
#include "inc/GlyphCache.h"
#include "inc/Sparse.h"