summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-08-18 14:52:06 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-08-18 14:52:06 +0100
commit3942e499aea0ea4b64ca53fdc06a9495bf4fd503 (patch)
tree782893c3e64229ef1f49536ce2102638947d4b29 /recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch
parent3de2a694e2cdd17bf741c7b70a72ed7026b8d501 (diff)
firefox_3.5.2.bb : add newest version of firefox
Diffstat (limited to 'recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch')
-rw-r--r--recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch b/recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch
new file mode 100644
index 0000000000..39978cfd11
--- /dev/null
+++ b/recipes/mozilla/firefox-3.5.2/jsautocfg-dontoverwrite.patch
@@ -0,0 +1,23 @@
+--- mozilla/js/src/Makefile.in.orig 2006-12-12 11:46:02.000000000 +0000
++++ mozilla/js/src/Makefile.in 2006-12-12 11:46:27.000000000 +0000
+@@ -319,20 +319,8 @@
+
+ jsopcode.h jsopcode.c: jsopcode.tbl
+
+-ifeq (,$(CROSS_COMPILE)$(filter-out WINNT,$(OS_ARCH)))
+ jsautocfg.h:
+ touch $@
+-else
+-ifeq ($(OS_ARCH),WINCE)
+-jsautocfg.h:
+- touch $@
+-else
+-jsautocfg.h: jscpucfg$(HOST_BIN_SUFFIX)
+- @rm -f $@ jsautocfg.tmp
+- ./jscpucfg > jsautocfg.tmp
+- mv jsautocfg.tmp $@
+-endif
+-endif
+
+ # jscpucfg is a strange target
+ # Needs to be built with the host compiler but needs to include