From ac7bde56d63418ece6ccb2c574730723337d845f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 5 Oct 2012 11:22:44 +0200 Subject: make firefox work again on lemote yeelong --- .../firefox/patches/patch-ipc_chromium_src_base_file_util_cc | 12 ++++++++++++ .../patches/patch-ipc_chromium_src_base_file_util_linux_cc | 10 ++++++++++ .../patches/patch-ipc_chromium_src_base_time_posix_cc | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc create mode 100644 package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc create mode 100644 package/firefox/patches/patch-ipc_chromium_src_base_time_posix_cc (limited to 'package/firefox/patches') diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc new file mode 100644 index 000000000..882ed195a --- /dev/null +++ b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_cc @@ -0,0 +1,12 @@ +--- mozilla-release.orig/ipc/chromium/src/base/file_util.cc 2011-07-08 03:15:22.000000000 +0200 ++++ mozilla-release/ipc/chromium/src/base/file_util.cc 2012-10-03 13:44:11.000000000 +0200 +@@ -8,9 +8,7 @@ + #include + #endif + #include +-#if defined(ANDROID) + #include +-#endif + + #include + diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc new file mode 100644 index 000000000..eb3e50b3b --- /dev/null +++ b/package/firefox/patches/patch-ipc_chromium_src_base_file_util_linux_cc @@ -0,0 +1,10 @@ +--- mozilla-release.orig/ipc/chromium/src/base/file_util_linux.cc 2011-07-08 03:15:22.000000000 +0200 ++++ mozilla-release/ipc/chromium/src/base/file_util_linux.cc 2012-10-03 13:50:20.000000000 +0200 +@@ -5,6 +5,7 @@ + #include "base/file_util.h" + + #include ++#include + + #include + #include diff --git a/package/firefox/patches/patch-ipc_chromium_src_base_time_posix_cc b/package/firefox/patches/patch-ipc_chromium_src_base_time_posix_cc new file mode 100644 index 000000000..7d0bc5934 --- /dev/null +++ b/package/firefox/patches/patch-ipc_chromium_src_base_time_posix_cc @@ -0,0 +1,11 @@ +--- mozilla-release.orig/ipc/chromium/src/base/time_posix.cc 2011-07-08 03:15:22.000000000 +0200 ++++ mozilla-release/ipc/chromium/src/base/time_posix.cc 2012-10-03 13:54:12.000000000 +0200 +@@ -164,7 +164,7 @@ TimeTicks TimeTicks::Now() { + // With numer and denom = 1 (the expected case), the 64-bit absolute time + // reported in nanoseconds is enough to last nearly 585 years. + +-#elif defined(OS_POSIX) && \ ++#elif defined(__linux__) || defined(OS_POSIX) && \ + defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 + + struct timespec ts; -- cgit v1.2.3