summaryrefslogtreecommitdiff
path: root/packages/mozilla
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-23 16:37:08 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-23 16:37:08 +0000
commit9937a368e65f87366194bb5fe516bd38a3c0969a (patch)
tree65399898f592d9ec64c27bff61da25c33783d091 /packages/mozilla
parentb383a0c53ef38385a619bfa8b58ee4342b0d2933 (diff)
firefox 3: replace internal js version with one that isn't horribly broken
Diffstat (limited to 'packages/mozilla')
-rw-r--r--packages/mozilla/firefox_3.0.bb7
1 files changed, 7 insertions, 0 deletions
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