summaryrefslogtreecommitdiff
path: root/package/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox')
-rw-r--r--package/firefox/Makefile15
-rw-r--r--package/firefox/patches/patch-configure41
-rw-r--r--package/firefox/patches/patch-gfx_2d_Logging_h12
-rw-r--r--package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp12
-rw-r--r--package/firefox/patches/patch-js_src_Makefile_in6
-rw-r--r--package/firefox/patches/patch-media_libcubeb_src_cubeb_alsa_c10
-rw-r--r--package/firefox/patches/patch-python_mozbuild_mozbuild_backend_recursivemake_py11
-rw-r--r--package/firefox/patches/patch-tools_profiler_UnwinderThread2_cpp10
-rw-r--r--package/firefox/patches/patch-tools_profiler_platform-linux_cc27
-rw-r--r--package/firefox/patches/patch-xpcom_ds_nsMathUtils_h6
-rw-r--r--package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp21
11 files changed, 32 insertions, 139 deletions
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index e65a2da84..462e3e596 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= firefox
-PKG_VERSION:= 35.0
-PKG_RELEASE:= 3
-PKG_HASH:= bedeb5bbd8b49e5b286497ef7732542c6e7441088fd8cd577d7ca8af4c871e81
+PKG_VERSION:= 41.0.2
+PKG_RELEASE:= 1
+PKG_HASH:= ff00689f4d2ff54c5eb7b3aa367560a3645800eb0c96e73a795e461461b1970e
PKG_DESCR:= graphical webbrowser
PKG_SECTION:= x11/apps
PKG_DEPENDS:= libpthread alsa-lib glib libgtk2 libpng libtiff libxcursor libffi
@@ -21,11 +21,11 @@ PKG_URL:= http://www.mozilla.org/
PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$(PKG_VERSION)/source/
PKG_NOPARALLEL:= 1
-PKG_ARCH_DEPENDS:= arm x86 x86_64 mips
+PKG_ARCH_DEPENDS:= arm mips mips64 x86 x86_64
PKG_HOST_DEPENDS:= !netbsd !freebsd !openbsd !cygwin
-PKG_SYSTEM_DEPENDS:= solidrun-imx6 ibm-x40 lemote-yeelong qemu-i686 qemu-x86_64 qemu-mips64el raspberry-pi
+PKG_SYSTEM_DEPENDS:= solidrun-imx6 ibm-x40 lemote-yeelong qemu-i686 qemu-x86_64 raspberry-pi raspberry-pi2
-DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).source.tar.bz2
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).source.tar.xz
WRKDIST= $(WRKDIR)/mozilla-release
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
@@ -54,7 +54,8 @@ CONFIGURE_ENV+= CROSS_COMPILE=1 \
ac_cv_sqlite_secure_delete=yes \
ac_cv_sqlite_threadsafe=yes \
ac_cv_sqlite_enable_fts3=yes \
- ac_cv_sqlite_enable_unlock_notify=yes
+ ac_cv_sqlite_enable_unlock_notify=yes \
+ ac_cv_sqlite_dbstat_vtab=yes
CONFIGURE_ARGS+= --enable-application=browser \
--enable-official-branding \
--with-system-zlib \
diff --git a/package/firefox/patches/patch-configure b/package/firefox/patches/patch-configure
deleted file mode 100644
index 52210624e..000000000
--- a/package/firefox/patches/patch-configure
+++ /dev/null
@@ -1,41 +0,0 @@
---- mozilla-release.orig/configure 2015-01-09 05:39:04.000000000 +0100
-+++ mozilla-release/configure 2015-02-04 11:49:00.000000000 +0100
-@@ -8156,38 +8156,6 @@ EOF
-
- fi
-
--MOZ_ENABLE_PROFILER_SPS=1
--
--case "${OS_TARGET}" in
--Android)
-- case "${CPU_ARCH}" in
-- x86 | arm) ;;
-- *)
-- MOZ_ENABLE_PROFILER_SPS=
-- esac
-- ;;
--Linux)
-- case "${CPU_ARCH}" in
-- x86 | x86_64) ;;
-- *)
-- MOZ_ENABLE_PROFILER_SPS=
-- esac
-- ;;
--WINNT|Darwin) ;;
--*)
-- MOZ_ENABLE_PROFILER_SPS=
-- ;;
--esac
--
--if test -n "$MOZ_ENABLE_PROFILER_SPS"; then
-- cat >> confdefs.pytmp <<\EOF
-- (''' MOZ_ENABLE_PROFILER_SPS ''', ' 1 ')
--EOF
--cat >> confdefs.h <<\EOF
--#define MOZ_ENABLE_PROFILER_SPS 1
--EOF
--
--fi
-
- # Check whether --enable-shark or --disable-shark was given.
- if test "${enable_shark+set}" = set; then
diff --git a/package/firefox/patches/patch-gfx_2d_Logging_h b/package/firefox/patches/patch-gfx_2d_Logging_h
new file mode 100644
index 000000000..78da23499
--- /dev/null
+++ b/package/firefox/patches/patch-gfx_2d_Logging_h
@@ -0,0 +1,12 @@
+--- mozilla-release.orig/gfx/2d/Logging.h 2015-10-14 23:41:53.000000000 +0200
++++ mozilla-release/gfx/2d/Logging.h 2015-10-22 21:47:47.852599070 +0200
+@@ -11,9 +11,7 @@
+ #include <stdio.h>
+ #include <vector>
+
+-#ifdef MOZ_LOGGING
+ #include "mozilla/Logging.h"
+-#endif
+
+ #if defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_ANDROID)
+ #include "nsDebug.h"
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 bcf9ac30a..3839a6551 100644
--- a/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp
+++ b/package/firefox/patches/patch-gfx_angle_src_common_angleutils_cpp
@@ -1,10 +1,10 @@
---- mozilla-release.orig/gfx/angle/src/common/angleutils.cpp 2015-01-09 05:38:28.000000000 +0100
-+++ mozilla-release/gfx/angle/src/common/angleutils.cpp 2015-02-03 04:42:10.000000000 +0100
-@@ -7,6 +7,7 @@
- #include "common/angleutils.h"
-
+--- 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"
+ #include <stdio.h>
#include <vector>
+#include <cstdio>
- std::string FormatString(const char *fmt, va_list vararg)
+ size_t FormatStringIntoVector(const char *fmt, va_list vararg, std::vector<char>& outBuffer)
{
diff --git a/package/firefox/patches/patch-js_src_Makefile_in b/package/firefox/patches/patch-js_src_Makefile_in
index b536ab3f5..b340774ee 100644
--- a/package/firefox/patches/patch-js_src_Makefile_in
+++ b/package/firefox/patches/patch-js_src_Makefile_in
@@ -1,6 +1,6 @@
---- mozilla-release.orig/js/src/Makefile.in 2015-01-09 05:38:17.000000000 +0100
-+++ mozilla-release/js/src/Makefile.in 2015-01-29 17:03:28.000000000 +0100
-@@ -21,7 +21,7 @@ NO_EXPAND_LIBS = 1
+--- 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
diff --git a/package/firefox/patches/patch-media_libcubeb_src_cubeb_alsa_c b/package/firefox/patches/patch-media_libcubeb_src_cubeb_alsa_c
deleted file mode 100644
index f681a127a..000000000
--- a/package/firefox/patches/patch-media_libcubeb_src_cubeb_alsa_c
+++ /dev/null
@@ -1,10 +0,0 @@
---- mozilla-release.orig/media/libcubeb/src/cubeb_alsa.c 2013-09-11 01:15:15.000000000 +0200
-+++ mozilla-release/media/libcubeb/src/cubeb_alsa.c 2013-10-23 16:28:38.000000000 +0200
-@@ -5,6 +5,7 @@
- * accompanying file LICENSE for details.
- */
- #undef NDEBUG
-+#define _POSIX_SOURCE
- #define _BSD_SOURCE
- #define _XOPEN_SOURCE 500
- #include <pthread.h>
diff --git a/package/firefox/patches/patch-python_mozbuild_mozbuild_backend_recursivemake_py b/package/firefox/patches/patch-python_mozbuild_mozbuild_backend_recursivemake_py
deleted file mode 100644
index 3f9aa337d..000000000
--- a/package/firefox/patches/patch-python_mozbuild_mozbuild_backend_recursivemake_py
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla-release.orig/python/mozbuild/mozbuild/backend/recursivemake.py 2015-01-09 05:38:28.000000000 +0100
-+++ mozilla-release/python/mozbuild/mozbuild/backend/recursivemake.py 2015-01-29 16:46:28.000000000 +0100
-@@ -940,7 +940,7 @@ INSTALL_TARGETS += %(prefix)s
- def _handle_idl_manager(self, manager):
- build_files = self._install_manifests['xpidl']
-
-- for p in ('Makefile', 'backend.mk', '.deps/.mkdir.done',
-+ for p in ('Makefile.in', 'Makefile', 'backend.mk', '.deps/.mkdir.done',
- 'xpt/.mkdir.done'):
- build_files.add_optional_exists(p)
-
diff --git a/package/firefox/patches/patch-tools_profiler_UnwinderThread2_cpp b/package/firefox/patches/patch-tools_profiler_UnwinderThread2_cpp
deleted file mode 100644
index 75c073d55..000000000
--- a/package/firefox/patches/patch-tools_profiler_UnwinderThread2_cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- mozilla-release.orig/tools/profiler/UnwinderThread2.cpp 2013-09-11 01:15:26.000000000 +0200
-+++ mozilla-release/tools/profiler/UnwinderThread2.cpp 2013-10-23 16:28:38.000000000 +0200
-@@ -3,6 +3,7 @@
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-+#include <sys/types.h>
- #include <stdio.h>
- #include <signal.h>
- #include <string.h>
diff --git a/package/firefox/patches/patch-tools_profiler_platform-linux_cc b/package/firefox/patches/patch-tools_profiler_platform-linux_cc
deleted file mode 100644
index 96b97381b..000000000
--- a/package/firefox/patches/patch-tools_profiler_platform-linux_cc
+++ /dev/null
@@ -1,27 +0,0 @@
---- mozilla-release.orig/tools/profiler/platform-linux.cc 2015-01-09 05:38:28.000000000 +0100
-+++ mozilla-release/tools/profiler/platform-linux.cc 2015-01-29 16:46:28.000000000 +0100
-@@ -57,7 +57,7 @@
- #include <fcntl.h> // open
- #include <unistd.h> // sysconf
- #include <semaphore.h>
--#ifdef __GLIBC__
-+#if defined(__GLIBC__) && ! defined(__UCLIBC__)
- #include <execinfo.h> // backtrace, backtrace_symbols
- #endif // def __GLIBC__
- #include <strings.h> // index
-@@ -92,14 +92,12 @@
-
- #define SIGNAL_SAVE_PROFILE SIGUSR2
-
--#if defined(__GLIBC__)
--// glibc doesn't implement gettid(2).
-+// glibc/musl doesn't implement gettid(2).
- #include <sys/syscall.h>
- pid_t gettid()
- {
- return (pid_t) syscall(SYS_gettid);
- }
--#endif
-
- /* static */ Thread::tid_t
- Thread::GetCurrentId()
diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
index 578dc64c6..a22b709eb 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-01-09 05:38:29.000000000 +0100
-+++ mozilla-release/xpcom/ds/nsMathUtils.h 2015-01-29 21:37:27.000000000 +0100
-@@ -104,12 +104,16 @@ NS_finite(double aNum)
+--- 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)
#ifdef WIN32
// NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
return !!_finite(aNum);
diff --git a/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp b/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp
deleted file mode 100644
index 71899d1a6..000000000
--- a/package/firefox/patches/patch-xpcom_io_nsLocalFileUnix_cpp
+++ /dev/null
@@ -1,21 +0,0 @@
---- mozilla-release.orig/xpcom/io/nsLocalFileUnix.cpp 2015-01-09 05:38:29.000000000 +0100
-+++ mozilla-release/xpcom/io/nsLocalFileUnix.cpp 2015-01-30 14:13:49.000000000 +0100
-@@ -1407,10 +1407,18 @@ nsLocalFile::GetDiskSpaceAvailable(int64
- #endif
- && dq.dqb_bhardlimit) {
- int64_t QuotaSpaceAvailable = 0;
-+#if defined(__UCLIBC__)
-+ if (dq.dqb_bhardlimit > dq.dqb_curblocks) {
-+ QuotaSpaceAvailable =
-+ int64_t(fs_buf.F_BSIZE * (dq.dqb_bhardlimit - dq.dqb_curblocks));
-+ }
-+#else
- if (dq.dqb_bhardlimit > dq.dqb_curspace) {
- QuotaSpaceAvailable =
- int64_t(fs_buf.F_BSIZE * (dq.dqb_bhardlimit - dq.dqb_curspace));
- }
-+#endif
-+
- if (QuotaSpaceAvailable < *aDiskSpaceAvailable) {
- *aDiskSpaceAvailable = QuotaSpaceAvailable;
- }