summaryrefslogtreecommitdiff
path: root/package/firefox
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:42:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:42:18 +0200
commit40eacf9cd715b3c2285baefaaf9adcd0d2bd7376 (patch)
tree690ccfc83a2cb015868b7570b4a720811134db4d /package/firefox
parentac6e6711d6b6d83fab8f017acb1eff5d5082add7 (diff)
update to latest stable version
Diffstat (limited to 'package/firefox')
-rw-r--r--package/firefox/Makefile12
-rw-r--r--package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp11
2 files changed, 8 insertions, 15 deletions
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index a0d6e9eaa..51a2e0047 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= firefox
-PKG_VERSION:= 4.0
+PKG_VERSION:= 5.0.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= 3468a2c463b4fc2788ba621e4b511c30
+PKG_MD5SUM:= 6d1f43e402cec84459a3d7f950bd5192
PKG_DESCR:= graphical webbrowser
PKG_SECTION:= x11/apps
PKG_DEPENDS:= libpthread alsa-lib dbus-glib glib libgtk libpng libtiff
@@ -23,12 +23,15 @@ PKG_ARCH_DEPENDS:= x86 x86_64 mips64 mips64el native
PKG_HOST_DEPENDS:= !netbsd !freebsd !openbsd !cygwin
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.source.tar.bz2
-WRKDIST= ${WRKDIR}/mozilla-2.0
+WRKDIST= ${WRKDIR}/mozilla-release
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FIREFOX,firefox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+# disable honour cflags stuff
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+
ifeq (${ADK_TARGET_SYSTEM_LEMOTE_YEELONG},y)
CONFIGURE_ARGS+= --disable-ipc
else ifeq (${ADK_TARGET_LIB_UCLIBC},y)
@@ -84,7 +87,8 @@ CONFIGURE_ARGS+= --enable-application=browser \
--disable-svg \
--disable-mathml \
--disable-jemalloc \
- --disable-crashreporter
+ --disable-crashreporter \
+ --disable-elf-hack
XAKE_FLAGS+= OS_RELEASE="2.6" HOST_CC=$(CC_FOR_BUILD) HOST_LDFLAGS=$(LDFLAGS_FOR_BUILD)
XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS}"
diff --git a/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp b/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
deleted file mode 100644
index 9a49b3cd6..000000000
--- a/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla-2.0.orig/content/canvas/src/nsCanvasRenderingContext2D.cpp 2011-03-19 00:33:34.000000000 +0100
-+++ mozilla-2.0/content/canvas/src/nsCanvasRenderingContext2D.cpp 2011-06-15 20:26:00.226952311 +0200
-@@ -159,7 +159,7 @@ DoubleIsFinite(double d)
- // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
- return !!_finite(d);
- #else
-- return finite(d);
-+ return isfinite(d);
- #endif
- }
-