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 | |
parent | 1eeb1687577e4298f969cf781a330af01d2db1ad (diff) |
make firefox work again on lemote yeelong
Diffstat (limited to 'package/firefox')
4 files changed, 34 insertions, 1 deletions
diff --git a/package/firefox/Makefile b/package/firefox/Makefile index d214c1938..7605c9071 100644 --- a/package/firefox/Makefile +++ b/package/firefox/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 6d1f43e402cec84459a3d7f950bd5192 PKG_DESCR:= graphical webbrowser PKG_SECTION:= x11/apps -PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk libpng libtiff libxcursor +PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk libpng libtiff libxcursor libffi PKG_DEPENDS+= nspr nss libjpeg libatk pango cairo libxt libx11 libstdcxx hicolor-icon-theme PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf libintl PKG_BUILDDEP:= alsa-lib dbus-glib glib gtk+ libIDL libX11 MesaLib libtiff gdk-pixbuf 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; |