diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-10-05 11:22:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-10-05 11:22:44 +0200 |
commit | ac7bde56d63418ece6ccb2c574730723337d845f (patch) | |
tree | 15356a17dc0fbfbcf557bb6d8a8c0f939fc84df5 /package/firefox/patches | |
parent | 1eeb1687577e4298f969cf781a330af01d2db1ad (diff) |
make firefox work again on lemote yeelong
Diffstat (limited to 'package/firefox/patches')
3 files changed, 33 insertions, 0 deletions
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 <io.h> + #endif + #include <stdio.h> +-#if defined(ANDROID) + #include <unistd.h> +-#endif + + #include <fstream> + 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 <fcntl.h> ++#include <unistd.h> + + #include <string> + #include <vector> 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; |