summaryrefslogtreecommitdiff
path: root/packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-12-12 12:23:02 +0000
committerGraeme Gregory <dp@xora.org.uk>2006-12-12 12:23:02 +0000
commita004355ef9e8378dc8e6289c0aff189997c7c6db (patch)
tree055b44e0eaca345fa8ed80f6a0a9a17ab8ea6a67 /packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch
parente59be84f1e7dc42189f2cf51dbf92f5658ae9b9d (diff)
firefox_2.0.bb : add a version 2.0 of the browser. I have fixed problems
in crosscompiling where BUILD_HOST CCFLAGS were set by mozilla makefiles and also a problem where jsautocfg.h crafter for arm was overwritten by BUILD_HOST version during compile. This still SIGILL's on me, hopefully someone will find that problem.
Diffstat (limited to 'packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch')
-rw-r--r--packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch b/packages/mozilla/firefox-2.0/jsautocfg-dontoverwrite.patch
new file mode 100644
index 0000000000..39978cfd11
--- /dev/null
+++ b/packages/mozilla/firefox-2.0/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