From 9937a368e65f87366194bb5fe516bd38a3c0969a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Jun 2008 16:37:08 +0000 Subject: firefox 3: replace internal js version with one that isn't horribly broken --- packages/mozilla/firefox_3.0.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/mozilla') diff --git a/packages/mozilla/firefox_3.0.bb b/packages/mozilla/firefox_3.0.bb index 5e693a1692..ab10c96bc8 100644 --- a/packages/mozilla/firefox_3.0.bb +++ b/packages/mozilla/firefox_3.0.bb @@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/fi file://Bug405992.atomic.nspr.diff;patch=1 \ file://random_to_urandom.diff;patch=1 \ file://jemalloc-tls.patch;patch=1 \ + http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz \ " S = "${WORKDIR}/mozilla" @@ -19,6 +20,10 @@ S = "${WORKDIR}/mozilla" inherit mozilla require firefox.inc +do_unpack2() { + cp -pPr ${WORKDIR}/js/src* ${S}/js/ +} + do_compile_prepend() { cp ${WORKDIR}/jsautocfg.h ${S}/js/src/ sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk @@ -36,3 +41,5 @@ do_stage() { # removes 2 lines that call absent headers sed -e '178,179d' ${STAGING_INCDIR}/firefox-${PV}/nsIServiceManager.h } + +addtask unpack2 after do_unpack before do_patch -- cgit v1.2.3