aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-15 15:43:07 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-15 15:43:07 +0200
commitbcef63682bb2eaf0c7478ac5fe97b8784077b41e (patch)
treec1dc0b842210f40cf6b771dfa8f87aaae7c6ee4a /recipes
parent2b021688267945b769948eafcc1a5d7234b1596c (diff)
downloadopenembedded-bcef63682bb2eaf0c7478ac5fe97b8784077b41e.tar.gz
firefox 3.6:: remove old versions
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/mozilla/firefox-3.6.2/0001-Remove-Werror-from-build.patch43
-rw-r--r--recipes/mozilla/firefox-3.6.2/0002-Fix-security-cross-compile-cpu-detection-error.patch42
-rw-r--r--recipes/mozilla/firefox-3.6.2/010_FPU_IS_ARM_FPA_xslt.diff56
-rw-r--r--recipes/mozilla/firefox-3.6.2/Bug339782.additional.fix.diff39
-rw-r--r--recipes/mozilla/firefox-3.6.2/Bug385583.nspr.jmp_buf.eabi.diff33
-rw-r--r--recipes/mozilla/firefox-3.6.2/Bug405992.atomic.nspr.diff48
-rw-r--r--recipes/mozilla/firefox-3.6.2/configure-wchart.patch11
-rw-r--r--recipes/mozilla/firefox-3.6.2/firefox-plugin.pc10
-rw-r--r--recipes/mozilla/firefox-3.6.2/firefox-xpcom.pc13
-rw-r--r--recipes/mozilla/firefox-3.6.2/jemalloc-tls.patch28
-rw-r--r--recipes/mozilla/firefox-3.6.2/linkage-problem.patch14
-rw-r--r--recipes/mozilla/firefox-3.6.2/mozconfig73
-rw-r--r--recipes/mozilla/firefox-3.6.2/nspr.pc10
-rw-r--r--recipes/mozilla/firefox-3.6.2/plugins-dir.patch16
-rw-r--r--recipes/mozilla/firefox-3.6.2/security-cross.patch57
-rw-r--r--recipes/mozilla/firefox-3.6.3/0001-Remove-Werror-from-build.patch43
-rw-r--r--recipes/mozilla/firefox-3.6.3/0002-Fix-security-cross-compile-cpu-detection-error.patch42
-rw-r--r--recipes/mozilla/firefox-3.6.3/010_FPU_IS_ARM_FPA_xslt.diff56
-rw-r--r--recipes/mozilla/firefox-3.6.3/Bug339782.additional.fix.diff39
-rw-r--r--recipes/mozilla/firefox-3.6.3/Bug385583.nspr.jmp_buf.eabi.diff33
-rw-r--r--recipes/mozilla/firefox-3.6.3/Bug405992.atomic.nspr.diff48
-rw-r--r--recipes/mozilla/firefox-3.6.3/configure-wchart.patch11
-rw-r--r--recipes/mozilla/firefox-3.6.3/firefox-plugin.pc10
-rw-r--r--recipes/mozilla/firefox-3.6.3/firefox-xpcom.pc13
-rw-r--r--recipes/mozilla/firefox-3.6.3/jemalloc-tls.patch28
-rw-r--r--recipes/mozilla/firefox-3.6.3/linkage-problem.patch14
-rw-r--r--recipes/mozilla/firefox-3.6.3/mozconfig73
-rw-r--r--recipes/mozilla/firefox-3.6.3/nspr.pc10
-rw-r--r--recipes/mozilla/firefox-3.6.3/plugins-dir.patch16
-rw-r--r--recipes/mozilla/firefox-3.6.3/security-cross.patch57
-rw-r--r--recipes/mozilla/firefox-3.6/0001-Remove-Werror-from-build.patch43
-rw-r--r--recipes/mozilla/firefox-3.6/0002-Fix-security-cross-compile-cpu-detection-error.patch42
-rw-r--r--recipes/mozilla/firefox-3.6/010_FPU_IS_ARM_FPA_xslt.diff56
-rw-r--r--recipes/mozilla/firefox-3.6/Bug339782.additional.fix.diff39
-rw-r--r--recipes/mozilla/firefox-3.6/Bug385583.nspr.jmp_buf.eabi.diff33
-rw-r--r--recipes/mozilla/firefox-3.6/Bug405992.atomic.nspr.diff48
-rw-r--r--recipes/mozilla/firefox-3.6/configure-wchart.patch11
-rw-r--r--recipes/mozilla/firefox-3.6/firefox-plugin.pc10
-rw-r--r--recipes/mozilla/firefox-3.6/firefox-xpcom.pc13
-rw-r--r--recipes/mozilla/firefox-3.6/jemalloc-tls.patch28
-rw-r--r--recipes/mozilla/firefox-3.6/linkage-problem.patch14
-rw-r--r--recipes/mozilla/firefox-3.6/mozconfig73
-rw-r--r--recipes/mozilla/firefox-3.6/nspr.pc10
-rw-r--r--recipes/mozilla/firefox-3.6/plugins-dir.patch16
-rw-r--r--recipes/mozilla/firefox-3.6/security-cross.patch64
-rw-r--r--recipes/mozilla/firefox_3.6.2.bb36
-rw-r--r--recipes/mozilla/firefox_3.6.3.bb36
-rw-r--r--recipes/mozilla/firefox_3.6.bb38
48 files changed, 0 insertions, 1596 deletions
diff --git a/recipes/mozilla/firefox-3.6.2/0001-Remove-Werror-from-build.patch b/recipes/mozilla/firefox-3.6.2/0001-Remove-Werror-from-build.patch
deleted file mode 100644
index 008dabbe8d..0000000000
--- a/recipes/mozilla/firefox-3.6.2/0001-Remove-Werror-from-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 48a378ae647cbd6f8466bd0e8dbb04400bb175a8 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Thu, 24 Jul 2008 16:05:09 -0400
-Subject: [PATCH 1/1] Remove -Werror from build
-
-Remove -Werror from build
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- configure | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-Index: mozilla-1.9.1/configure
-===================================================================
---- mozilla-1.9.1.orig/configure
-+++ mozilla-1.9.1/configure
-@@ -5525,7 +5525,7 @@ if test "$GNU_CC"; then
- # Don't allow undefined symbols in libraries
- DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- DSO_CFLAGS=''
- DSO_PIC_CFLAGS='-fPIC'
- ASFLAGS="$ASFLAGS -fPIC"
-@@ -7104,7 +7104,7 @@ EOF
- IMPLIB='emximp -o'
- FILTER='emxexp -o'
- LDFLAGS='-Zmap'
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_DEBUG_FLAGS="-g -fno-inline"
- MOZ_OPTIMIZE_FLAGS="-O2"
- MOZ_OPTIMIZE_LDFLAGS="-s -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA"
-@@ -7283,7 +7283,7 @@ else
- fi
- rm -f conftest*
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_OPTIMIZE_FLAGS="-xO4"
- MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
- MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -z muldefs -h $@ -o $@'
diff --git a/recipes/mozilla/firefox-3.6.2/0002-Fix-security-cross-compile-cpu-detection-error.patch b/recipes/mozilla/firefox-3.6.2/0002-Fix-security-cross-compile-cpu-detection-error.patch
deleted file mode 100644
index ce8d4d9948..0000000000
--- a/recipes/mozilla/firefox-3.6.2/0002-Fix-security-cross-compile-cpu-detection-error.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 599b26141d493ff19633796ce5e19b00315d3821 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Fri, 25 Jul 2008 11:20:02 -0400
-Subject: [PATCH 1/1] Fix security cross compile cpu detection error
-
-Fix security cross compile cpu detection error.
-Reference to bug 376279.
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- security/coreconf/arch.mk | 2 ++
- security/manager/Makefile.in | 1 +
- 2 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/security/coreconf/arch.mk b/security/coreconf/arch.mk
-index fba38ff..28da32e 100644
---- a/security/coreconf/arch.mk
-+++ b/security/coreconf/arch.mk
-@@ -66,7 +66,9 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
- # Attempt to differentiate between sparc and x86 Solaris
- #
-
-+ifndef OE_TEST
- OS_TEST := $(shell uname -m)
-+endif
- ifeq ($(OS_TEST),i86pc)
- OS_RELEASE := $(shell uname -r)_$(OS_TEST)
- else
-diff --git a/security/manager/Makefile.in b/security/manager/Makefile.in
-index 86119f7..86c09ca 100644
---- a/security/manager/Makefile.in
-+++ b/security/manager/Makefile.in
-@@ -240,6 +240,7 @@ DEFAULT_GMAKE_FLAGS += \
- RC="$(RC) $(RCFLAGS)" \
- OS_ARCH="$(OS_ARCH)" \
- CPU_ARCH="$(TARGET_CPU)" \
-+ OS_TEST="$(TARGET_CPU)" \
- $(NULL)
- SKIP_CHK=1
- endif
---
-1.5.4.3
diff --git a/recipes/mozilla/firefox-3.6.2/010_FPU_IS_ARM_FPA_xslt.diff b/recipes/mozilla/firefox-3.6.2/010_FPU_IS_ARM_FPA_xslt.diff
deleted file mode 100644
index 854100c4c3..0000000000
--- a/recipes/mozilla/firefox-3.6.2/010_FPU_IS_ARM_FPA_xslt.diff
+++ /dev/null
@@ -1,56 +0,0 @@
-# Bug 369722 – prdtoa.c jsnum.h txDouble.h not required IEEE_ARM define on Codesourcery EABI gcc3.4.4 compiler
-#
---- mozilla/content/xslt/public/txDouble.h.orig 2006-07-13 17:21:52.000000000 +0300
-+++ mozilla/content/xslt/public/txDouble.h 2007-10-25 15:01:25.000000000 +0300
-@@ -58,46 +58,48 @@ fp_except_t oldmask = fpsetmask(~allmask
- /**
- * Stefan Hanske <sh990154@mail.uni-greifswald.de> reports:
- * ARM is a little endian architecture but 64 bit double words are stored
- * differently: the 32 bit words are in little endian byte order, the two words
- * are stored in big endian`s way.
- */
-
- #if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
--#define CPU_IS_ARM
-+#if !defined(__VFP_FP__)
-+#define FPU_IS_ARM_FPA
-+#endif
- #endif
-
- #if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
- /**
- * This version of the macros is safe for the alias optimizations
- * that gcc does, but uses gcc-specific extensions.
- */
-
- typedef union txdpun {
- PRFloat64 d;
- struct {
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- PRUint32 lo, hi;
- #else
- PRUint32 hi, lo;
- #endif
- } s;
- } txdpun;
-
- #define TX_DOUBLE_HI32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.hi; }))
- #define TX_DOUBLE_LO32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.lo; }))
-
- #else // __GNUC__
-
- /* We don't know of any non-gcc compilers that perform alias optimization,
- * so this code should work.
- */
-
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[1])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[0])
- #else
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[0])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[1])
- #endif
-
- #endif // __GNUC__
diff --git a/recipes/mozilla/firefox-3.6.2/Bug339782.additional.fix.diff b/recipes/mozilla/firefox-3.6.2/Bug339782.additional.fix.diff
deleted file mode 100644
index 0848e730d3..0000000000
--- a/recipes/mozilla/firefox-3.6.2/Bug339782.additional.fix.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-# XPTC_InvokeByIndex crashes
-# Bug 339782 [ARM] XPTC_InvokeByIndex crashes when cross-compiled under GCC 3.4.x with EABI (CodeSourcery)
-Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-===================================================================
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-@@ -51,22 +51,32 @@
- #ifdef __ARM_EABI__
- #define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
- #define VAR_STACK_SIZE_64 3
- #else
- #define DOUBLEWORD_ALIGN(p) (p)
- #define VAR_STACK_SIZE_64 2
- #endif
-
-+#ifdef __ARM_EABI__
-+#define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
-+#else
-+#define DOUBLEWORD_ALIGN(p) (p)
-+#endif
-+
- // Remember that these 'words' are 32bit DWORDS
-
- static PRUint32
- invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)
- {
- PRUint32 result = 0;
-+
-+ /* Note that we give a "worst case" estimate of how much stack _might_ be
-+ * needed, rather than the real count - this should be safe */
-+
- for(PRUint32 i = 0; i < paramCount; i++, s++)
- {
- if(s->IsPtrData())
- {
- result++;
- continue;
- }
- switch(s->type)
diff --git a/recipes/mozilla/firefox-3.6.2/Bug385583.nspr.jmp_buf.eabi.diff b/recipes/mozilla/firefox-3.6.2/Bug385583.nspr.jmp_buf.eabi.diff
deleted file mode 100644
index 486440c30e..0000000000
--- a/recipes/mozilla/firefox-3.6.2/Bug385583.nspr.jmp_buf.eabi.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up mozilla/nsprpub/pr/include/md/_linux.h.orig mozilla/nsprpub/pr/include/md/_linux.h
---- mozilla/nsprpub/pr/include/md/_linux.h.orig 2007-11-28 14:16:03.000000000 -0500
-+++ mozilla/nsprpub/pr/include/md/_linux.h 2007-11-28 14:12:09.000000000 -0500
-@@ -346,8 +346,8 @@ extern void _MD_CleanupBeforeExit(void);
- #error "Linux/MIPS pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
--#elif defined(__arm__)
--/* ARM/Linux */
-+#elif defined(__arm__) && !defined(__ARM_EABI__)
-+/* ARM/Linux (old-ABI) */
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[20]
- #define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[19] = (val))
-@@ -358,6 +358,18 @@ extern void _MD_CleanupBeforeExit(void);
- #error "ARM/Linux pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
-+#elif defined(__arm__) && defined(__ARM_EABI__)
-+/* ARM/Linux (EABI) */
-+#if defined(__GLIBC__) && __GLIBC__ >= 2
-+#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[8]
-+#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[7] = (val))
-+#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
-+#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[7])
-+#define _MD_SP_TYPE __ptr_t
-+#else
-+#error "ARM/Linux pre-glibc2 not supported yet"
-+#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-+
- #else
-
- #error "Unknown CPU architecture"
diff --git a/recipes/mozilla/firefox-3.6.2/Bug405992.atomic.nspr.diff b/recipes/mozilla/firefox-3.6.2/Bug405992.atomic.nspr.diff
deleted file mode 100644
index f54f916a6a..0000000000
--- a/recipes/mozilla/firefox-3.6.2/Bug405992.atomic.nspr.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-# Add atomic operations for ARM.
-diff --git a/nsprpub/pr/include/md/_linux.h b/nsprpub/pr/include/md/_linux.h
-index 5b794c5..cb8d58e 100644
---- a/nsprpub/pr/include/md/_linux.h
-+++ b/nsprpub/pr/include/md/_linux.h
-@@ -194,6 +194,42 @@ extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval);
- })
- #endif
-
-+#if defined(__arm__)
-+#define _PR_HAVE_ATOMIC_OPS
-+#define _MD_INIT_ATOMIC()
-+
-+typedef int (__kernel_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
-+#define __kernel_cmpxchg (*(__kernel_cmpxchg_t *)0xffff0fc0)
-+
-+#define _MD_ATOMIC_INCREMENT(ptr) _MD_ATOMIC_ADD(ptr, 1)
-+#define _MD_ATOMIC_DECREMENT(ptr) _MD_ATOMIC_ADD(ptr, -1)
-+#define _MD_ATOMIC_ADD(ptr, n) \
-+ ({ \
-+ PRInt32 ov, nv; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ nv = ov + (n); \
-+ } \
-+ while (__kernel_cmpxchg(ov, nv, vp)); \
-+ \
-+ nv; \
-+ })
-+#define _MD_ATOMIC_SET(ptr, nv) \
-+ ({ \
-+ PRInt32 ov; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ } \
-+ while (__kernel_cmpxchg(ov, (nv), vp)); \
-+ \
-+ ov; \
-+ })
-+#endif
-+
- #define USE_SETJMP
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _PR_POLL_AVAILABLE
diff --git a/recipes/mozilla/firefox-3.6.2/configure-wchart.patch b/recipes/mozilla/firefox-3.6.2/configure-wchart.patch
deleted file mode 100644
index 36ee2a0ba4..0000000000
--- a/recipes/mozilla/firefox-3.6.2/configure-wchart.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.in 2008-04-15 12:56:35.000000000 +0300
-+++ b/configure.in.old 2008-03-20 21:17:09.000000000 +0200
-@@ -2743,7 +2743,7 @@
-
- AC_CACHE_CHECK(for compiler -fshort-wchar option,
- ac_cv_have_usable_wchar_option_v2,
-- [AC_TRY_LINK([#include <stddef.h>
-+ [AC_TRY_COMPILE([#include <stddef.h>
- $configure_static_assert_macros],
- [CONFIGURE_STATIC_ASSERT(sizeof(wchar_t) == 2);
- CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)],
diff --git a/recipes/mozilla/firefox-3.6.2/firefox-plugin.pc b/recipes/mozilla/firefox-3.6.2/firefox-plugin.pc
deleted file mode 100644
index ecc8262d7e..0000000000
--- a/recipes/mozilla/firefox-3.6.2/firefox-plugin.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6.2
-
-Name: Mozilla Plug-In API
-Description: Mozilla Plug-In API
-Version: 3.6
-Requires: firefox-xpcom = 3.6.2
-Cflags: -I${includedir}/java -I${includedir}/plugin
diff --git a/recipes/mozilla/firefox-3.6.2/firefox-xpcom.pc b/recipes/mozilla/firefox-3.6.2/firefox-xpcom.pc
deleted file mode 100644
index 1c2de33620..0000000000
--- a/recipes/mozilla/firefox-3.6.2/firefox-xpcom.pc
+++ /dev/null
@@ -1,13 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include
-mozdir=${includedir}/firefox-3.6.2
-idldir=${includedir}/firefox-3.6.2
-
-Name: XPCOM
-Description: The Mozilla Cross Platform Component Library
-Version: 3.6.2
-Requires: nspr >= 4.8
-Libs: -L${libdir} -lxpcom -Wl,-R${libdir}
-Cflags: -I${mozdir} -I${mozdir}/xpcom -I${mozdir}/string
diff --git a/recipes/mozilla/firefox-3.6.2/jemalloc-tls.patch b/recipes/mozilla/firefox-3.6.2/jemalloc-tls.patch
deleted file mode 100644
index d1d740989e..0000000000
--- a/recipes/mozilla/firefox-3.6.2/jemalloc-tls.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/jemalloc.c 2008-06-23 10:57:36.000000000 +0200
-+++ mozilla/memory/jemalloc/jemalloc.c 2008-06-23 11:20:13.000000000 +0200
-@@ -386,7 +386,7 @@
- #else
- # define NO_TLS
- #endif
--#if 0
-+
- #ifdef __i386__
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
-@@ -420,7 +420,6 @@
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
- #endif
--#endif
-
- #define SIZEOF_PTR (1U << SIZEOF_PTR_2POW)
-
-@@ -2582,7 +2581,7 @@
- * knowledge of how _pthread_self() calculates values, we can't
- * easily do much better than this.
- */
-- ind = (unsigned long) _pthread_self() % narenas;
-+ ind = 255255 % narenas;
-
- /*
- * Optimistially assume that arenas[ind] has been initialized.
diff --git a/recipes/mozilla/firefox-3.6.2/linkage-problem.patch b/recipes/mozilla/firefox-3.6.2/linkage-problem.patch
deleted file mode 100644
index 28bffd1e22..0000000000
--- a/recipes/mozilla/firefox-3.6.2/linkage-problem.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- mozilla/layout/build/Makefile.in~ 2007-11-24 00:38:14.000000000 -0200
-+++ mozilla/layout/build/Makefile.in 2007-11-24 00:38:14.000000000 -0200
-@@ -229,6 +229,11 @@
- $(NULL)
- endif
-
-+ifdef MOZ_ENABLE_XFT
-+EXTRA_DSO_LDOPTS += $(MOZ_XFT_LIBS) \
-+ $(NULL)
-+endif
-+
- ifneq (,$(MOZ_ENABLE_CANVAS)$(MOZ_SVG_RENDERER_CAIRO))
- EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \
- $(NULL)
diff --git a/recipes/mozilla/firefox-3.6.2/mozconfig b/recipes/mozilla/firefox-3.6.2/mozconfig
deleted file mode 100644
index 883a396e53..0000000000
--- a/recipes/mozilla/firefox-3.6.2/mozconfig
+++ /dev/null
@@ -1,73 +0,0 @@
-. $topsrcdir/browser/config/mozconfig
-
-# use GTK+-2 widget set with XFT font rendering
-#ac_add_options --enable-default-toolkit=gtk2
-ac_add_options --enable-xft
-ac_add_options --disable-freetype2
-
-# enable minimal profile support
-ac_add_options --disable-profilesharing
-ac_add_options --disable-profilelocking
-ac_add_options --enable-single-profile
-
-ac_add_options --with-system-zlib
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-bz2
-#ac_add_options --with-system-png
-
-ac_add_options --disable-accessibility
-ac_add_options --disable-composer
-#ac_add_options --enable-plaintext-editor-only
-ac_add_options --disable-mailnews
-ac_add_options --disable-ldap
-#ac_add_options --disable-postscript
-ac_add_options --disable-mathml
-ac_add_options --disable-jsd
-ac_add_options --disable-installer
-ac_add_options --disable-xprint
-ac_add_options --enable-necko-disk-cache
-ac_add_options --disable-necko-wifi
-ac_add_options --disable-updater
-
-# configure necko to allocate smaller network buffers
-ac_add_options --enable-necko-small-buffers
-
-# disable debug logging and tests
-#ac_add_options --disable-dtd-debug
-ac_add_options --disable-logging
-ac_add_options --disable-gtktest
-ac_add_options --disable-tests
-ac_add_options --disable-printing
-ac_add_options --disable-gnomevfs
-ac_add_options --disable-gnomeui
-ac_add_options --enable-debugger-info-modules
-
-# build crypto module (PSM + NSS)
-ac_add_options --enable-crypto
-
-# build minimal set of protocol handlers
-ac_add_options --enable-necko-protocols=http,file,res,ftp,about,viewsource
-
-# build minimal set of image decoders
-#ac_add_options --enable-image-decoders=png,gif,jpeg
-
-#ac_add_options --enable-reorder
-#ac_add_options --enable-elf-dynstr-gc
-
-# enable static build
-#ac_add_options --disable-shared
-#ac_add_options --enable-static
-ac_add_options --enable-optimize=-O2
-
-# Use cairo from system
-ac_add_options --enable-system-cairo
-
-# Disable jemalloc
-ac_add_options --disable-jemalloc
-
-# enable libxul
-ac_add_options --enable-libxul
-
-# Disable striping
-ac_add_options --disable-strip
-ac_add_options --disable-install-strip
diff --git a/recipes/mozilla/firefox-3.6.2/nspr.pc b/recipes/mozilla/firefox-3.6.2/nspr.pc
deleted file mode 100644
index c97c842025..0000000000
--- a/recipes/mozilla/firefox-3.6.2/nspr.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6.2
-
-Name: NSPR
-Description: The Netscape Portable Runtime
-Version: 4.8
-Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir}
-Cflags: -I${includedir}
diff --git a/recipes/mozilla/firefox-3.6.2/plugins-dir.patch b/recipes/mozilla/firefox-3.6.2/plugins-dir.patch
deleted file mode 100644
index 2c8b8e9bd1..0000000000
--- a/recipes/mozilla/firefox-3.6.2/plugins-dir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: mozilla-1.9.1/build/unix/mozilla.in
-===================================================================
---- mozilla-1.9.1.orig/build/unix/mozilla.in
-+++ mozilla-1.9.1/build/unix/mozilla.in
-@@ -52,6 +52,11 @@
-
- moz_libdir=%MOZAPPDIR%
-
-+if test -d /usr/lib/mozilla/plugins; then
-+ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
-+ export MOZ_PLUGIN_PATH
-+fi
-+
- # Use run-mozilla.sh in the current dir if it exists
- # If not, then start resolving symlinks until we find run-mozilla.sh
- found=0
diff --git a/recipes/mozilla/firefox-3.6.2/security-cross.patch b/recipes/mozilla/firefox-3.6.2/security-cross.patch
deleted file mode 100644
index cfe57b28f0..0000000000
--- a/recipes/mozilla/firefox-3.6.2/security-cross.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- /tmp/Linux.mk 2010-03-23 18:52:06.000000000 +0100
-+++ mozilla-1.9.2/security/coreconf/Linux.mk 2010-03-23 18:52:57.000000000 +0100
-@@ -52,52 +52,8 @@
-
- DEFAULT_COMPILER = gcc
-
--ifeq ($(OS_TEST),ppc64)
-- CPU_ARCH = ppc
--ifeq ($(USE_64),1)
-- ARCHFLAG = -m64
--endif
--else
--ifeq ($(OS_TEST),alpha)
-- OS_REL_CFLAGS = -D_ALPHA_
-- CPU_ARCH = alpha
--else
--ifeq ($(OS_TEST),x86_64)
--ifeq ($(USE_64),1)
-- CPU_ARCH = x86_64
--else
-- OS_REL_CFLAGS = -Di386
-- CPU_ARCH = x86
-- ARCHFLAG = -m32
--endif
--else
--ifeq ($(OS_TEST),sparc64)
-- CPU_ARCH = sparc
--else
--ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
-- CPU_ARCH = arm
--else
--ifeq (,$(filter-out parisc%,$(OS_TEST)))
-- CPU_ARCH = hppa
--else
--ifeq (,$(filter-out i%86,$(OS_TEST)))
-- OS_REL_CFLAGS = -Di386
-- CPU_ARCH = x86
--else
--ifeq ($(OS_TEST),sh4a)
-- CPU_ARCH = sh4
--else
--# $(OS_TEST) == m68k, ppc, ia64, sparc, s390, s390x, mips, sh3, sh4
-- CPU_ARCH = $(OS_TEST)
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--
-+OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-+CPU_ARCH =
-
- LIBC_TAG = _glibc
-
diff --git a/recipes/mozilla/firefox-3.6.3/0001-Remove-Werror-from-build.patch b/recipes/mozilla/firefox-3.6.3/0001-Remove-Werror-from-build.patch
deleted file mode 100644
index 008dabbe8d..0000000000
--- a/recipes/mozilla/firefox-3.6.3/0001-Remove-Werror-from-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 48a378ae647cbd6f8466bd0e8dbb04400bb175a8 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Thu, 24 Jul 2008 16:05:09 -0400
-Subject: [PATCH 1/1] Remove -Werror from build
-
-Remove -Werror from build
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- configure | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-Index: mozilla-1.9.1/configure
-===================================================================
---- mozilla-1.9.1.orig/configure
-+++ mozilla-1.9.1/configure
-@@ -5525,7 +5525,7 @@ if test "$GNU_CC"; then
- # Don't allow undefined symbols in libraries
- DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- DSO_CFLAGS=''
- DSO_PIC_CFLAGS='-fPIC'
- ASFLAGS="$ASFLAGS -fPIC"
-@@ -7104,7 +7104,7 @@ EOF
- IMPLIB='emximp -o'
- FILTER='emxexp -o'
- LDFLAGS='-Zmap'
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_DEBUG_FLAGS="-g -fno-inline"
- MOZ_OPTIMIZE_FLAGS="-O2"
- MOZ_OPTIMIZE_LDFLAGS="-s -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA"
-@@ -7283,7 +7283,7 @@ else
- fi
- rm -f conftest*
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_OPTIMIZE_FLAGS="-xO4"
- MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
- MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -z muldefs -h $@ -o $@'
diff --git a/recipes/mozilla/firefox-3.6.3/0002-Fix-security-cross-compile-cpu-detection-error.patch b/recipes/mozilla/firefox-3.6.3/0002-Fix-security-cross-compile-cpu-detection-error.patch
deleted file mode 100644
index ce8d4d9948..0000000000
--- a/recipes/mozilla/firefox-3.6.3/0002-Fix-security-cross-compile-cpu-detection-error.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 599b26141d493ff19633796ce5e19b00315d3821 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Fri, 25 Jul 2008 11:20:02 -0400
-Subject: [PATCH 1/1] Fix security cross compile cpu detection error
-
-Fix security cross compile cpu detection error.
-Reference to bug 376279.
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- security/coreconf/arch.mk | 2 ++
- security/manager/Makefile.in | 1 +
- 2 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/security/coreconf/arch.mk b/security/coreconf/arch.mk
-index fba38ff..28da32e 100644
---- a/security/coreconf/arch.mk
-+++ b/security/coreconf/arch.mk
-@@ -66,7 +66,9 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
- # Attempt to differentiate between sparc and x86 Solaris
- #
-
-+ifndef OE_TEST
- OS_TEST := $(shell uname -m)
-+endif
- ifeq ($(OS_TEST),i86pc)
- OS_RELEASE := $(shell uname -r)_$(OS_TEST)
- else
-diff --git a/security/manager/Makefile.in b/security/manager/Makefile.in
-index 86119f7..86c09ca 100644
---- a/security/manager/Makefile.in
-+++ b/security/manager/Makefile.in
-@@ -240,6 +240,7 @@ DEFAULT_GMAKE_FLAGS += \
- RC="$(RC) $(RCFLAGS)" \
- OS_ARCH="$(OS_ARCH)" \
- CPU_ARCH="$(TARGET_CPU)" \
-+ OS_TEST="$(TARGET_CPU)" \
- $(NULL)
- SKIP_CHK=1
- endif
---
-1.5.4.3
diff --git a/recipes/mozilla/firefox-3.6.3/010_FPU_IS_ARM_FPA_xslt.diff b/recipes/mozilla/firefox-3.6.3/010_FPU_IS_ARM_FPA_xslt.diff
deleted file mode 100644
index 854100c4c3..0000000000
--- a/recipes/mozilla/firefox-3.6.3/010_FPU_IS_ARM_FPA_xslt.diff
+++ /dev/null
@@ -1,56 +0,0 @@
-# Bug 369722 – prdtoa.c jsnum.h txDouble.h not required IEEE_ARM define on Codesourcery EABI gcc3.4.4 compiler
-#
---- mozilla/content/xslt/public/txDouble.h.orig 2006-07-13 17:21:52.000000000 +0300
-+++ mozilla/content/xslt/public/txDouble.h 2007-10-25 15:01:25.000000000 +0300
-@@ -58,46 +58,48 @@ fp_except_t oldmask = fpsetmask(~allmask
- /**
- * Stefan Hanske <sh990154@mail.uni-greifswald.de> reports:
- * ARM is a little endian architecture but 64 bit double words are stored
- * differently: the 32 bit words are in little endian byte order, the two words
- * are stored in big endian`s way.
- */
-
- #if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
--#define CPU_IS_ARM
-+#if !defined(__VFP_FP__)
-+#define FPU_IS_ARM_FPA
-+#endif
- #endif
-
- #if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
- /**
- * This version of the macros is safe for the alias optimizations
- * that gcc does, but uses gcc-specific extensions.
- */
-
- typedef union txdpun {
- PRFloat64 d;
- struct {
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- PRUint32 lo, hi;
- #else
- PRUint32 hi, lo;
- #endif
- } s;
- } txdpun;
-
- #define TX_DOUBLE_HI32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.hi; }))
- #define TX_DOUBLE_LO32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.lo; }))
-
- #else // __GNUC__
-
- /* We don't know of any non-gcc compilers that perform alias optimization,
- * so this code should work.
- */
-
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[1])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[0])
- #else
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[0])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[1])
- #endif
-
- #endif // __GNUC__
diff --git a/recipes/mozilla/firefox-3.6.3/Bug339782.additional.fix.diff b/recipes/mozilla/firefox-3.6.3/Bug339782.additional.fix.diff
deleted file mode 100644
index 0848e730d3..0000000000
--- a/recipes/mozilla/firefox-3.6.3/Bug339782.additional.fix.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-# XPTC_InvokeByIndex crashes
-# Bug 339782 [ARM] XPTC_InvokeByIndex crashes when cross-compiled under GCC 3.4.x with EABI (CodeSourcery)
-Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-===================================================================
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-@@ -51,22 +51,32 @@
- #ifdef __ARM_EABI__
- #define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
- #define VAR_STACK_SIZE_64 3
- #else
- #define DOUBLEWORD_ALIGN(p) (p)
- #define VAR_STACK_SIZE_64 2
- #endif
-
-+#ifdef __ARM_EABI__
-+#define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
-+#else
-+#define DOUBLEWORD_ALIGN(p) (p)
-+#endif
-+
- // Remember that these 'words' are 32bit DWORDS
-
- static PRUint32
- invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)
- {
- PRUint32 result = 0;
-+
-+ /* Note that we give a "worst case" estimate of how much stack _might_ be
-+ * needed, rather than the real count - this should be safe */
-+
- for(PRUint32 i = 0; i < paramCount; i++, s++)
- {
- if(s->IsPtrData())
- {
- result++;
- continue;
- }
- switch(s->type)
diff --git a/recipes/mozilla/firefox-3.6.3/Bug385583.nspr.jmp_buf.eabi.diff b/recipes/mozilla/firefox-3.6.3/Bug385583.nspr.jmp_buf.eabi.diff
deleted file mode 100644
index 486440c30e..0000000000
--- a/recipes/mozilla/firefox-3.6.3/Bug385583.nspr.jmp_buf.eabi.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up mozilla/nsprpub/pr/include/md/_linux.h.orig mozilla/nsprpub/pr/include/md/_linux.h
---- mozilla/nsprpub/pr/include/md/_linux.h.orig 2007-11-28 14:16:03.000000000 -0500
-+++ mozilla/nsprpub/pr/include/md/_linux.h 2007-11-28 14:12:09.000000000 -0500
-@@ -346,8 +346,8 @@ extern void _MD_CleanupBeforeExit(void);
- #error "Linux/MIPS pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
--#elif defined(__arm__)
--/* ARM/Linux */
-+#elif defined(__arm__) && !defined(__ARM_EABI__)
-+/* ARM/Linux (old-ABI) */
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[20]
- #define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[19] = (val))
-@@ -358,6 +358,18 @@ extern void _MD_CleanupBeforeExit(void);
- #error "ARM/Linux pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
-+#elif defined(__arm__) && defined(__ARM_EABI__)
-+/* ARM/Linux (EABI) */
-+#if defined(__GLIBC__) && __GLIBC__ >= 2
-+#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[8]
-+#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[7] = (val))
-+#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
-+#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[7])
-+#define _MD_SP_TYPE __ptr_t
-+#else
-+#error "ARM/Linux pre-glibc2 not supported yet"
-+#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-+
- #else
-
- #error "Unknown CPU architecture"
diff --git a/recipes/mozilla/firefox-3.6.3/Bug405992.atomic.nspr.diff b/recipes/mozilla/firefox-3.6.3/Bug405992.atomic.nspr.diff
deleted file mode 100644
index f54f916a6a..0000000000
--- a/recipes/mozilla/firefox-3.6.3/Bug405992.atomic.nspr.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-# Add atomic operations for ARM.
-diff --git a/nsprpub/pr/include/md/_linux.h b/nsprpub/pr/include/md/_linux.h
-index 5b794c5..cb8d58e 100644
---- a/nsprpub/pr/include/md/_linux.h
-+++ b/nsprpub/pr/include/md/_linux.h
-@@ -194,6 +194,42 @@ extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval);
- })
- #endif
-
-+#if defined(__arm__)
-+#define _PR_HAVE_ATOMIC_OPS
-+#define _MD_INIT_ATOMIC()
-+
-+typedef int (__kernel_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
-+#define __kernel_cmpxchg (*(__kernel_cmpxchg_t *)0xffff0fc0)
-+
-+#define _MD_ATOMIC_INCREMENT(ptr) _MD_ATOMIC_ADD(ptr, 1)
-+#define _MD_ATOMIC_DECREMENT(ptr) _MD_ATOMIC_ADD(ptr, -1)
-+#define _MD_ATOMIC_ADD(ptr, n) \
-+ ({ \
-+ PRInt32 ov, nv; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ nv = ov + (n); \
-+ } \
-+ while (__kernel_cmpxchg(ov, nv, vp)); \
-+ \
-+ nv; \
-+ })
-+#define _MD_ATOMIC_SET(ptr, nv) \
-+ ({ \
-+ PRInt32 ov; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ } \
-+ while (__kernel_cmpxchg(ov, (nv), vp)); \
-+ \
-+ ov; \
-+ })
-+#endif
-+
- #define USE_SETJMP
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _PR_POLL_AVAILABLE
diff --git a/recipes/mozilla/firefox-3.6.3/configure-wchart.patch b/recipes/mozilla/firefox-3.6.3/configure-wchart.patch
deleted file mode 100644
index 36ee2a0ba4..0000000000
--- a/recipes/mozilla/firefox-3.6.3/configure-wchart.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.in 2008-04-15 12:56:35.000000000 +0300
-+++ b/configure.in.old 2008-03-20 21:17:09.000000000 +0200
-@@ -2743,7 +2743,7 @@
-
- AC_CACHE_CHECK(for compiler -fshort-wchar option,
- ac_cv_have_usable_wchar_option_v2,
-- [AC_TRY_LINK([#include <stddef.h>
-+ [AC_TRY_COMPILE([#include <stddef.h>
- $configure_static_assert_macros],
- [CONFIGURE_STATIC_ASSERT(sizeof(wchar_t) == 2);
- CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)],
diff --git a/recipes/mozilla/firefox-3.6.3/firefox-plugin.pc b/recipes/mozilla/firefox-3.6.3/firefox-plugin.pc
deleted file mode 100644
index c9c1ce8d9c..0000000000
--- a/recipes/mozilla/firefox-3.6.3/firefox-plugin.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6.3
-
-Name: Mozilla Plug-In API
-Description: Mozilla Plug-In API
-Version: 3.6
-Requires: firefox-xpcom = 3.6.3
-Cflags: -I${includedir}/java -I${includedir}/plugin
diff --git a/recipes/mozilla/firefox-3.6.3/firefox-xpcom.pc b/recipes/mozilla/firefox-3.6.3/firefox-xpcom.pc
deleted file mode 100644
index a0edec60de..0000000000
--- a/recipes/mozilla/firefox-3.6.3/firefox-xpcom.pc
+++ /dev/null
@@ -1,13 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include
-mozdir=${includedir}/firefox-3.6.3
-idldir=${includedir}/firefox-3.6.3
-
-Name: XPCOM
-Description: The Mozilla Cross Platform Component Library
-Version: 3.6.3
-Requires: nspr >= 4.8
-Libs: -L${libdir} -lxpcom -Wl,-R${libdir}
-Cflags: -I${mozdir} -I${mozdir}/xpcom -I${mozdir}/string
diff --git a/recipes/mozilla/firefox-3.6.3/jemalloc-tls.patch b/recipes/mozilla/firefox-3.6.3/jemalloc-tls.patch
deleted file mode 100644
index d1d740989e..0000000000
--- a/recipes/mozilla/firefox-3.6.3/jemalloc-tls.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/jemalloc.c 2008-06-23 10:57:36.000000000 +0200
-+++ mozilla/memory/jemalloc/jemalloc.c 2008-06-23 11:20:13.000000000 +0200
-@@ -386,7 +386,7 @@
- #else
- # define NO_TLS
- #endif
--#if 0
-+
- #ifdef __i386__
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
-@@ -420,7 +420,6 @@
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
- #endif
--#endif
-
- #define SIZEOF_PTR (1U << SIZEOF_PTR_2POW)
-
-@@ -2582,7 +2581,7 @@
- * knowledge of how _pthread_self() calculates values, we can't
- * easily do much better than this.
- */
-- ind = (unsigned long) _pthread_self() % narenas;
-+ ind = 255255 % narenas;
-
- /*
- * Optimistially assume that arenas[ind] has been initialized.
diff --git a/recipes/mozilla/firefox-3.6.3/linkage-problem.patch b/recipes/mozilla/firefox-3.6.3/linkage-problem.patch
deleted file mode 100644
index 28bffd1e22..0000000000
--- a/recipes/mozilla/firefox-3.6.3/linkage-problem.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- mozilla/layout/build/Makefile.in~ 2007-11-24 00:38:14.000000000 -0200
-+++ mozilla/layout/build/Makefile.in 2007-11-24 00:38:14.000000000 -0200
-@@ -229,6 +229,11 @@
- $(NULL)
- endif
-
-+ifdef MOZ_ENABLE_XFT
-+EXTRA_DSO_LDOPTS += $(MOZ_XFT_LIBS) \
-+ $(NULL)
-+endif
-+
- ifneq (,$(MOZ_ENABLE_CANVAS)$(MOZ_SVG_RENDERER_CAIRO))
- EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \
- $(NULL)
diff --git a/recipes/mozilla/firefox-3.6.3/mozconfig b/recipes/mozilla/firefox-3.6.3/mozconfig
deleted file mode 100644
index 883a396e53..0000000000
--- a/recipes/mozilla/firefox-3.6.3/mozconfig
+++ /dev/null
@@ -1,73 +0,0 @@
-. $topsrcdir/browser/config/mozconfig
-
-# use GTK+-2 widget set with XFT font rendering
-#ac_add_options --enable-default-toolkit=gtk2
-ac_add_options --enable-xft
-ac_add_options --disable-freetype2
-
-# enable minimal profile support
-ac_add_options --disable-profilesharing
-ac_add_options --disable-profilelocking
-ac_add_options --enable-single-profile
-
-ac_add_options --with-system-zlib
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-bz2
-#ac_add_options --with-system-png
-
-ac_add_options --disable-accessibility
-ac_add_options --disable-composer
-#ac_add_options --enable-plaintext-editor-only
-ac_add_options --disable-mailnews
-ac_add_options --disable-ldap
-#ac_add_options --disable-postscript
-ac_add_options --disable-mathml
-ac_add_options --disable-jsd
-ac_add_options --disable-installer
-ac_add_options --disable-xprint
-ac_add_options --enable-necko-disk-cache
-ac_add_options --disable-necko-wifi
-ac_add_options --disable-updater
-
-# configure necko to allocate smaller network buffers
-ac_add_options --enable-necko-small-buffers
-
-# disable debug logging and tests
-#ac_add_options --disable-dtd-debug
-ac_add_options --disable-logging
-ac_add_options --disable-gtktest
-ac_add_options --disable-tests
-ac_add_options --disable-printing
-ac_add_options --disable-gnomevfs
-ac_add_options --disable-gnomeui
-ac_add_options --enable-debugger-info-modules
-
-# build crypto module (PSM + NSS)
-ac_add_options --enable-crypto
-
-# build minimal set of protocol handlers
-ac_add_options --enable-necko-protocols=http,file,res,ftp,about,viewsource
-
-# build minimal set of image decoders
-#ac_add_options --enable-image-decoders=png,gif,jpeg
-
-#ac_add_options --enable-reorder
-#ac_add_options --enable-elf-dynstr-gc
-
-# enable static build
-#ac_add_options --disable-shared
-#ac_add_options --enable-static
-ac_add_options --enable-optimize=-O2
-
-# Use cairo from system
-ac_add_options --enable-system-cairo
-
-# Disable jemalloc
-ac_add_options --disable-jemalloc
-
-# enable libxul
-ac_add_options --enable-libxul
-
-# Disable striping
-ac_add_options --disable-strip
-ac_add_options --disable-install-strip
diff --git a/recipes/mozilla/firefox-3.6.3/nspr.pc b/recipes/mozilla/firefox-3.6.3/nspr.pc
deleted file mode 100644
index 6e4499235f..0000000000
--- a/recipes/mozilla/firefox-3.6.3/nspr.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6.3
-
-Name: NSPR
-Description: The Netscape Portable Runtime
-Version: 4.8
-Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir}
-Cflags: -I${includedir}
diff --git a/recipes/mozilla/firefox-3.6.3/plugins-dir.patch b/recipes/mozilla/firefox-3.6.3/plugins-dir.patch
deleted file mode 100644
index 2c8b8e9bd1..0000000000
--- a/recipes/mozilla/firefox-3.6.3/plugins-dir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: mozilla-1.9.1/build/unix/mozilla.in
-===================================================================
---- mozilla-1.9.1.orig/build/unix/mozilla.in
-+++ mozilla-1.9.1/build/unix/mozilla.in
-@@ -52,6 +52,11 @@
-
- moz_libdir=%MOZAPPDIR%
-
-+if test -d /usr/lib/mozilla/plugins; then
-+ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
-+ export MOZ_PLUGIN_PATH
-+fi
-+
- # Use run-mozilla.sh in the current dir if it exists
- # If not, then start resolving symlinks until we find run-mozilla.sh
- found=0
diff --git a/recipes/mozilla/firefox-3.6.3/security-cross.patch b/recipes/mozilla/firefox-3.6.3/security-cross.patch
deleted file mode 100644
index cfe57b28f0..0000000000
--- a/recipes/mozilla/firefox-3.6.3/security-cross.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- /tmp/Linux.mk 2010-03-23 18:52:06.000000000 +0100
-+++ mozilla-1.9.2/security/coreconf/Linux.mk 2010-03-23 18:52:57.000000000 +0100
-@@ -52,52 +52,8 @@
-
- DEFAULT_COMPILER = gcc
-
--ifeq ($(OS_TEST),ppc64)
-- CPU_ARCH = ppc
--ifeq ($(USE_64),1)
-- ARCHFLAG = -m64
--endif
--else
--ifeq ($(OS_TEST),alpha)
-- OS_REL_CFLAGS = -D_ALPHA_
-- CPU_ARCH = alpha
--else
--ifeq ($(OS_TEST),x86_64)
--ifeq ($(USE_64),1)
-- CPU_ARCH = x86_64
--else
-- OS_REL_CFLAGS = -Di386
-- CPU_ARCH = x86
-- ARCHFLAG = -m32
--endif
--else
--ifeq ($(OS_TEST),sparc64)
-- CPU_ARCH = sparc
--else
--ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
-- CPU_ARCH = arm
--else
--ifeq (,$(filter-out parisc%,$(OS_TEST)))
-- CPU_ARCH = hppa
--else
--ifeq (,$(filter-out i%86,$(OS_TEST)))
-- OS_REL_CFLAGS = -Di386
-- CPU_ARCH = x86
--else
--ifeq ($(OS_TEST),sh4a)
-- CPU_ARCH = sh4
--else
--# $(OS_TEST) == m68k, ppc, ia64, sparc, s390, s390x, mips, sh3, sh4
-- CPU_ARCH = $(OS_TEST)
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--
-+OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-+CPU_ARCH =
-
- LIBC_TAG = _glibc
-
diff --git a/recipes/mozilla/firefox-3.6/0001-Remove-Werror-from-build.patch b/recipes/mozilla/firefox-3.6/0001-Remove-Werror-from-build.patch
deleted file mode 100644
index 008dabbe8d..0000000000
--- a/recipes/mozilla/firefox-3.6/0001-Remove-Werror-from-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 48a378ae647cbd6f8466bd0e8dbb04400bb175a8 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Thu, 24 Jul 2008 16:05:09 -0400
-Subject: [PATCH 1/1] Remove -Werror from build
-
-Remove -Werror from build
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- configure | 6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-Index: mozilla-1.9.1/configure
-===================================================================
---- mozilla-1.9.1.orig/configure
-+++ mozilla-1.9.1/configure
-@@ -5525,7 +5525,7 @@ if test "$GNU_CC"; then
- # Don't allow undefined symbols in libraries
- DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- DSO_CFLAGS=''
- DSO_PIC_CFLAGS='-fPIC'
- ASFLAGS="$ASFLAGS -fPIC"
-@@ -7104,7 +7104,7 @@ EOF
- IMPLIB='emximp -o'
- FILTER='emxexp -o'
- LDFLAGS='-Zmap'
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_DEBUG_FLAGS="-g -fno-inline"
- MOZ_OPTIMIZE_FLAGS="-O2"
- MOZ_OPTIMIZE_LDFLAGS="-s -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA"
-@@ -7283,7 +7283,7 @@ else
- fi
- rm -f conftest*
- fi
-- WARNINGS_AS_ERRORS='-Werror'
-+ WARNINGS_AS_ERRORS=''
- MOZ_OPTIMIZE_FLAGS="-xO4"
- MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
- MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -z muldefs -h $@ -o $@'
diff --git a/recipes/mozilla/firefox-3.6/0002-Fix-security-cross-compile-cpu-detection-error.patch b/recipes/mozilla/firefox-3.6/0002-Fix-security-cross-compile-cpu-detection-error.patch
deleted file mode 100644
index ce8d4d9948..0000000000
--- a/recipes/mozilla/firefox-3.6/0002-Fix-security-cross-compile-cpu-detection-error.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 599b26141d493ff19633796ce5e19b00315d3821 Mon Sep 17 00:00:00 2001
-From: Eduardo Valentin <eduardo.valentin@openpossa.org>
-Date: Fri, 25 Jul 2008 11:20:02 -0400
-Subject: [PATCH 1/1] Fix security cross compile cpu detection error
-
-Fix security cross compile cpu detection error.
-Reference to bug 376279.
-
-Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
----
- security/coreconf/arch.mk | 2 ++
- security/manager/Makefile.in | 1 +
- 2 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/security/coreconf/arch.mk b/security/coreconf/arch.mk
-index fba38ff..28da32e 100644
---- a/security/coreconf/arch.mk
-+++ b/security/coreconf/arch.mk
-@@ -66,7 +66,9 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
- # Attempt to differentiate between sparc and x86 Solaris
- #
-
-+ifndef OE_TEST
- OS_TEST := $(shell uname -m)
-+endif
- ifeq ($(OS_TEST),i86pc)
- OS_RELEASE := $(shell uname -r)_$(OS_TEST)
- else
-diff --git a/security/manager/Makefile.in b/security/manager/Makefile.in
-index 86119f7..86c09ca 100644
---- a/security/manager/Makefile.in
-+++ b/security/manager/Makefile.in
-@@ -240,6 +240,7 @@ DEFAULT_GMAKE_FLAGS += \
- RC="$(RC) $(RCFLAGS)" \
- OS_ARCH="$(OS_ARCH)" \
- CPU_ARCH="$(TARGET_CPU)" \
-+ OS_TEST="$(TARGET_CPU)" \
- $(NULL)
- SKIP_CHK=1
- endif
---
-1.5.4.3
diff --git a/recipes/mozilla/firefox-3.6/010_FPU_IS_ARM_FPA_xslt.diff b/recipes/mozilla/firefox-3.6/010_FPU_IS_ARM_FPA_xslt.diff
deleted file mode 100644
index 854100c4c3..0000000000
--- a/recipes/mozilla/firefox-3.6/010_FPU_IS_ARM_FPA_xslt.diff
+++ /dev/null
@@ -1,56 +0,0 @@
-# Bug 369722 – prdtoa.c jsnum.h txDouble.h not required IEEE_ARM define on Codesourcery EABI gcc3.4.4 compiler
-#
---- mozilla/content/xslt/public/txDouble.h.orig 2006-07-13 17:21:52.000000000 +0300
-+++ mozilla/content/xslt/public/txDouble.h 2007-10-25 15:01:25.000000000 +0300
-@@ -58,46 +58,48 @@ fp_except_t oldmask = fpsetmask(~allmask
- /**
- * Stefan Hanske <sh990154@mail.uni-greifswald.de> reports:
- * ARM is a little endian architecture but 64 bit double words are stored
- * differently: the 32 bit words are in little endian byte order, the two words
- * are stored in big endian`s way.
- */
-
- #if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
--#define CPU_IS_ARM
-+#if !defined(__VFP_FP__)
-+#define FPU_IS_ARM_FPA
-+#endif
- #endif
-
- #if (__GNUC__ == 2 && __GNUC_MINOR__ > 95) || __GNUC__ > 2
- /**
- * This version of the macros is safe for the alias optimizations
- * that gcc does, but uses gcc-specific extensions.
- */
-
- typedef union txdpun {
- PRFloat64 d;
- struct {
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- PRUint32 lo, hi;
- #else
- PRUint32 hi, lo;
- #endif
- } s;
- } txdpun;
-
- #define TX_DOUBLE_HI32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.hi; }))
- #define TX_DOUBLE_LO32(x) (__extension__ ({ txdpun u; u.d = (x); u.s.lo; }))
-
- #else // __GNUC__
-
- /* We don't know of any non-gcc compilers that perform alias optimization,
- * so this code should work.
- */
-
--#if defined(IS_LITTLE_ENDIAN) && !defined(CPU_IS_ARM)
-+#if defined(IS_LITTLE_ENDIAN) && !defined(FPU_IS_ARM_FPA)
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[1])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[0])
- #else
- #define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[0])
- #define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[1])
- #endif
-
- #endif // __GNUC__
diff --git a/recipes/mozilla/firefox-3.6/Bug339782.additional.fix.diff b/recipes/mozilla/firefox-3.6/Bug339782.additional.fix.diff
deleted file mode 100644
index 0848e730d3..0000000000
--- a/recipes/mozilla/firefox-3.6/Bug339782.additional.fix.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-# XPTC_InvokeByIndex crashes
-# Bug 339782 [ARM] XPTC_InvokeByIndex crashes when cross-compiled under GCC 3.4.x with EABI (CodeSourcery)
-Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-===================================================================
---- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
-@@ -51,22 +51,32 @@
- #ifdef __ARM_EABI__
- #define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
- #define VAR_STACK_SIZE_64 3
- #else
- #define DOUBLEWORD_ALIGN(p) (p)
- #define VAR_STACK_SIZE_64 2
- #endif
-
-+#ifdef __ARM_EABI__
-+#define DOUBLEWORD_ALIGN(p) ((PRUint32 *)((((PRUint32)(p)) + 7) & 0xfffffff8))
-+#else
-+#define DOUBLEWORD_ALIGN(p) (p)
-+#endif
-+
- // Remember that these 'words' are 32bit DWORDS
-
- static PRUint32
- invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)
- {
- PRUint32 result = 0;
-+
-+ /* Note that we give a "worst case" estimate of how much stack _might_ be
-+ * needed, rather than the real count - this should be safe */
-+
- for(PRUint32 i = 0; i < paramCount; i++, s++)
- {
- if(s->IsPtrData())
- {
- result++;
- continue;
- }
- switch(s->type)
diff --git a/recipes/mozilla/firefox-3.6/Bug385583.nspr.jmp_buf.eabi.diff b/recipes/mozilla/firefox-3.6/Bug385583.nspr.jmp_buf.eabi.diff
deleted file mode 100644
index 486440c30e..0000000000
--- a/recipes/mozilla/firefox-3.6/Bug385583.nspr.jmp_buf.eabi.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -up mozilla/nsprpub/pr/include/md/_linux.h.orig mozilla/nsprpub/pr/include/md/_linux.h
---- mozilla/nsprpub/pr/include/md/_linux.h.orig 2007-11-28 14:16:03.000000000 -0500
-+++ mozilla/nsprpub/pr/include/md/_linux.h 2007-11-28 14:12:09.000000000 -0500
-@@ -346,8 +346,8 @@ extern void _MD_CleanupBeforeExit(void);
- #error "Linux/MIPS pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
--#elif defined(__arm__)
--/* ARM/Linux */
-+#elif defined(__arm__) && !defined(__ARM_EABI__)
-+/* ARM/Linux (old-ABI) */
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[20]
- #define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[19] = (val))
-@@ -358,6 +358,18 @@ extern void _MD_CleanupBeforeExit(void);
- #error "ARM/Linux pre-glibc2 not supported yet"
- #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-
-+#elif defined(__arm__) && defined(__ARM_EABI__)
-+/* ARM/Linux (EABI) */
-+#if defined(__GLIBC__) && __GLIBC__ >= 2
-+#define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[8]
-+#define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[7] = (val))
-+#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t))
-+#define _MD_GET_FP_PTR(_t) (&(_t)->md.context[0].__jmpbuf[7])
-+#define _MD_SP_TYPE __ptr_t
-+#else
-+#error "ARM/Linux pre-glibc2 not supported yet"
-+#endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */
-+
- #else
-
- #error "Unknown CPU architecture"
diff --git a/recipes/mozilla/firefox-3.6/Bug405992.atomic.nspr.diff b/recipes/mozilla/firefox-3.6/Bug405992.atomic.nspr.diff
deleted file mode 100644
index f54f916a6a..0000000000
--- a/recipes/mozilla/firefox-3.6/Bug405992.atomic.nspr.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-# Add atomic operations for ARM.
-diff --git a/nsprpub/pr/include/md/_linux.h b/nsprpub/pr/include/md/_linux.h
-index 5b794c5..cb8d58e 100644
---- a/nsprpub/pr/include/md/_linux.h
-+++ b/nsprpub/pr/include/md/_linux.h
-@@ -194,6 +194,42 @@ extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval);
- })
- #endif
-
-+#if defined(__arm__)
-+#define _PR_HAVE_ATOMIC_OPS
-+#define _MD_INIT_ATOMIC()
-+
-+typedef int (__kernel_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
-+#define __kernel_cmpxchg (*(__kernel_cmpxchg_t *)0xffff0fc0)
-+
-+#define _MD_ATOMIC_INCREMENT(ptr) _MD_ATOMIC_ADD(ptr, 1)
-+#define _MD_ATOMIC_DECREMENT(ptr) _MD_ATOMIC_ADD(ptr, -1)
-+#define _MD_ATOMIC_ADD(ptr, n) \
-+ ({ \
-+ PRInt32 ov, nv; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ nv = ov + (n); \
-+ } \
-+ while (__kernel_cmpxchg(ov, nv, vp)); \
-+ \
-+ nv; \
-+ })
-+#define _MD_ATOMIC_SET(ptr, nv) \
-+ ({ \
-+ PRInt32 ov; \
-+ volatile PRInt32 *vp = (ptr); \
-+ \
-+ do { \
-+ ov = *vp; \
-+ } \
-+ while (__kernel_cmpxchg(ov, (nv), vp)); \
-+ \
-+ ov; \
-+ })
-+#endif
-+
- #define USE_SETJMP
- #if defined(__GLIBC__) && __GLIBC__ >= 2
- #define _PR_POLL_AVAILABLE
diff --git a/recipes/mozilla/firefox-3.6/configure-wchart.patch b/recipes/mozilla/firefox-3.6/configure-wchart.patch
deleted file mode 100644
index 36ee2a0ba4..0000000000
--- a/recipes/mozilla/firefox-3.6/configure-wchart.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.in 2008-04-15 12:56:35.000000000 +0300
-+++ b/configure.in.old 2008-03-20 21:17:09.000000000 +0200
-@@ -2743,7 +2743,7 @@
-
- AC_CACHE_CHECK(for compiler -fshort-wchar option,
- ac_cv_have_usable_wchar_option_v2,
-- [AC_TRY_LINK([#include <stddef.h>
-+ [AC_TRY_COMPILE([#include <stddef.h>
- $configure_static_assert_macros],
- [CONFIGURE_STATIC_ASSERT(sizeof(wchar_t) == 2);
- CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0)],
diff --git a/recipes/mozilla/firefox-3.6/firefox-plugin.pc b/recipes/mozilla/firefox-3.6/firefox-plugin.pc
deleted file mode 100644
index f6ad141f9f..0000000000
--- a/recipes/mozilla/firefox-3.6/firefox-plugin.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6
-
-Name: Mozilla Plug-In API
-Description: Mozilla Plug-In API
-Version: 3.5
-Requires: firefox-xpcom = 3.6
-Cflags: -I${includedir}/java -I${includedir}/plugin
diff --git a/recipes/mozilla/firefox-3.6/firefox-xpcom.pc b/recipes/mozilla/firefox-3.6/firefox-xpcom.pc
deleted file mode 100644
index 6eb1289cda..0000000000
--- a/recipes/mozilla/firefox-3.6/firefox-xpcom.pc
+++ /dev/null
@@ -1,13 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include
-mozdir=${includedir}/firefox-3.6
-idldir=${includedir}/firefox-3.6
-
-Name: XPCOM
-Description: The Mozilla Cross Platform Component Library
-Version: 3.6
-Requires: nspr >= 4.8
-Libs: -L${libdir} -lxpcom -Wl,-R${libdir}
-Cflags: -I${mozdir} -I${mozdir}/xpcom -I${mozdir}/string
diff --git a/recipes/mozilla/firefox-3.6/jemalloc-tls.patch b/recipes/mozilla/firefox-3.6/jemalloc-tls.patch
deleted file mode 100644
index d1d740989e..0000000000
--- a/recipes/mozilla/firefox-3.6/jemalloc-tls.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/jemalloc.c 2008-06-23 10:57:36.000000000 +0200
-+++ mozilla/memory/jemalloc/jemalloc.c 2008-06-23 11:20:13.000000000 +0200
-@@ -386,7 +386,7 @@
- #else
- # define NO_TLS
- #endif
--#if 0
-+
- #ifdef __i386__
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
-@@ -420,7 +420,6 @@
- # define QUANTUM_2POW_MIN 4
- # define SIZEOF_PTR_2POW 2
- #endif
--#endif
-
- #define SIZEOF_PTR (1U << SIZEOF_PTR_2POW)
-
-@@ -2582,7 +2581,7 @@
- * knowledge of how _pthread_self() calculates values, we can't
- * easily do much better than this.
- */
-- ind = (unsigned long) _pthread_self() % narenas;
-+ ind = 255255 % narenas;
-
- /*
- * Optimistially assume that arenas[ind] has been initialized.
diff --git a/recipes/mozilla/firefox-3.6/linkage-problem.patch b/recipes/mozilla/firefox-3.6/linkage-problem.patch
deleted file mode 100644
index 28bffd1e22..0000000000
--- a/recipes/mozilla/firefox-3.6/linkage-problem.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- mozilla/layout/build/Makefile.in~ 2007-11-24 00:38:14.000000000 -0200
-+++ mozilla/layout/build/Makefile.in 2007-11-24 00:38:14.000000000 -0200
-@@ -229,6 +229,11 @@
- $(NULL)
- endif
-
-+ifdef MOZ_ENABLE_XFT
-+EXTRA_DSO_LDOPTS += $(MOZ_XFT_LIBS) \
-+ $(NULL)
-+endif
-+
- ifneq (,$(MOZ_ENABLE_CANVAS)$(MOZ_SVG_RENDERER_CAIRO))
- EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \
- $(NULL)
diff --git a/recipes/mozilla/firefox-3.6/mozconfig b/recipes/mozilla/firefox-3.6/mozconfig
deleted file mode 100644
index 883a396e53..0000000000
--- a/recipes/mozilla/firefox-3.6/mozconfig
+++ /dev/null
@@ -1,73 +0,0 @@
-. $topsrcdir/browser/config/mozconfig
-
-# use GTK+-2 widget set with XFT font rendering
-#ac_add_options --enable-default-toolkit=gtk2
-ac_add_options --enable-xft
-ac_add_options --disable-freetype2
-
-# enable minimal profile support
-ac_add_options --disable-profilesharing
-ac_add_options --disable-profilelocking
-ac_add_options --enable-single-profile
-
-ac_add_options --with-system-zlib
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-bz2
-#ac_add_options --with-system-png
-
-ac_add_options --disable-accessibility
-ac_add_options --disable-composer
-#ac_add_options --enable-plaintext-editor-only
-ac_add_options --disable-mailnews
-ac_add_options --disable-ldap
-#ac_add_options --disable-postscript
-ac_add_options --disable-mathml
-ac_add_options --disable-jsd
-ac_add_options --disable-installer
-ac_add_options --disable-xprint
-ac_add_options --enable-necko-disk-cache
-ac_add_options --disable-necko-wifi
-ac_add_options --disable-updater
-
-# configure necko to allocate smaller network buffers
-ac_add_options --enable-necko-small-buffers
-
-# disable debug logging and tests
-#ac_add_options --disable-dtd-debug
-ac_add_options --disable-logging
-ac_add_options --disable-gtktest
-ac_add_options --disable-tests
-ac_add_options --disable-printing
-ac_add_options --disable-gnomevfs
-ac_add_options --disable-gnomeui
-ac_add_options --enable-debugger-info-modules
-
-# build crypto module (PSM + NSS)
-ac_add_options --enable-crypto
-
-# build minimal set of protocol handlers
-ac_add_options --enable-necko-protocols=http,file,res,ftp,about,viewsource
-
-# build minimal set of image decoders
-#ac_add_options --enable-image-decoders=png,gif,jpeg
-
-#ac_add_options --enable-reorder
-#ac_add_options --enable-elf-dynstr-gc
-
-# enable static build
-#ac_add_options --disable-shared
-#ac_add_options --enable-static
-ac_add_options --enable-optimize=-O2
-
-# Use cairo from system
-ac_add_options --enable-system-cairo
-
-# Disable jemalloc
-ac_add_options --disable-jemalloc
-
-# enable libxul
-ac_add_options --enable-libxul
-
-# Disable striping
-ac_add_options --disable-strip
-ac_add_options --disable-install-strip
diff --git a/recipes/mozilla/firefox-3.6/nspr.pc b/recipes/mozilla/firefox-3.6/nspr.pc
deleted file mode 100644
index b73ffc04f7..0000000000
--- a/recipes/mozilla/firefox-3.6/nspr.pc
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=/usr/lib
-includedir=/usr/include/firefox-3.6
-
-Name: NSPR
-Description: The Netscape Portable Runtime
-Version: 4.8
-Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir}
-Cflags: -I${includedir}
diff --git a/recipes/mozilla/firefox-3.6/plugins-dir.patch b/recipes/mozilla/firefox-3.6/plugins-dir.patch
deleted file mode 100644
index 2c8b8e9bd1..0000000000
--- a/recipes/mozilla/firefox-3.6/plugins-dir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: mozilla-1.9.1/build/unix/mozilla.in
-===================================================================
---- mozilla-1.9.1.orig/build/unix/mozilla.in
-+++ mozilla-1.9.1/build/unix/mozilla.in
-@@ -52,6 +52,11 @@
-
- moz_libdir=%MOZAPPDIR%
-
-+if test -d /usr/lib/mozilla/plugins; then
-+ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
-+ export MOZ_PLUGIN_PATH
-+fi
-+
- # Use run-mozilla.sh in the current dir if it exists
- # If not, then start resolving symlinks until we find run-mozilla.sh
- found=0
diff --git a/recipes/mozilla/firefox-3.6/security-cross.patch b/recipes/mozilla/firefox-3.6/security-cross.patch
deleted file mode 100644
index b6c32fe52f..0000000000
--- a/recipes/mozilla/firefox-3.6/security-cross.patch
+++ /dev/null
@@ -1,64 +0,0 @@
---- /tmp/Linux.mk 2009-11-02 10:26:16.000000000 +0100
-+++ mozilla-1.9.1/security/coreconf/Linux.mk 2009-11-02 10:27:04.000000000 +0100
-@@ -52,59 +52,8 @@
-
- DEFAULT_COMPILER = gcc
-
--ifeq ($(OS_TEST),ppc64)
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = ppc
--ifeq ($(USE_64),1)
-- ARCHFLAG = -m64
--endif
--else
--ifeq ($(OS_TEST),alpha)
-- OS_REL_CFLAGS = -D_ALPHA_ -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = alpha
--else
--ifeq ($(OS_TEST),x86_64)
--ifeq ($(USE_64),1)
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = x86_64
--else
-- OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
-- CPU_ARCH = x86
-- ARCHFLAG = -m32
--endif
--else
--ifeq ($(OS_TEST),sparc64)
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = sparc
--else
--ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = arm
--else
--ifeq (,$(filter-out parisc%,$(OS_TEST)))
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = hppa
--else
--ifeq (,$(filter-out i%86,$(OS_TEST)))
-- OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
-- CPU_ARCH = x86
--else
--ifeq ($(OS_TEST),sh4a)
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = sh4
--else
--# $(OS_TEST) == m68k, ppc, ia64, sparc, s390, s390x, mips, sh3, sh4
-- OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-- CPU_ARCH = $(OS_TEST)
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--endif
--
-+OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
-+CPU_ARCH =
-
- LIBC_TAG = _glibc
-
diff --git a/recipes/mozilla/firefox_3.6.2.bb b/recipes/mozilla/firefox_3.6.2.bb
deleted file mode 100644
index dcc9fc50c6..0000000000
--- a/recipes/mozilla/firefox_3.6.2.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-DEPENDS += "cairo sqlite3 libnotify"
-
-# The .pc files below have "3.6" hardcoded, fix that before using them in a newer FF version!
-SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2;name=archive \
- file://jsautocfg.h \
- file://security-cross.patch \
- file://Bug339782.additional.fix.diff \
- file://Bug385583.nspr.jmp_buf.eabi.diff \
- file://Bug405992.atomic.nspr.diff \
- file://jemalloc-tls.patch \
- file://0001-Remove-Werror-from-build.patch \
- file://0002-Fix-security-cross-compile-cpu-detection-error.patch \
- file://plugins-dir.patch \
- file://firefox-plugin.pc \
- file://firefox-xpcom.pc \
- file://nspr.pc \
-"
-
-SRC_URI[archive.md5sum] = "a1972a2216ac7139b92b7378a328ec93"
-SRC_URI[archive.sha256sum] = "0f8398efabb14da83e14c7fbabdff99a619752cadb43348b27adf302382046f0"
-
-S = "${WORKDIR}/mozilla-1.9.2"
-
-inherit mozilla
-require firefox.inc
-
-EXTRA_OECONF += " --enable-official-branding --disable-crashreporter"
-
-
-FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
-
-do_compile_prepend() {
- cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
- sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
-}
-
diff --git a/recipes/mozilla/firefox_3.6.3.bb b/recipes/mozilla/firefox_3.6.3.bb
deleted file mode 100644
index 98a0e400bd..0000000000
--- a/recipes/mozilla/firefox_3.6.3.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-DEPENDS += "cairo sqlite3 libnotify"
-
-# The .pc files below have "3.6" hardcoded, fix that before using them in a newer FF version!
-SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2;name=archive \
- file://jsautocfg.h \
- file://security-cross.patch \
- file://Bug339782.additional.fix.diff \
- file://Bug385583.nspr.jmp_buf.eabi.diff \
- file://Bug405992.atomic.nspr.diff \
- file://jemalloc-tls.patch \
- file://0001-Remove-Werror-from-build.patch \
- file://0002-Fix-security-cross-compile-cpu-detection-error.patch \
- file://plugins-dir.patch \
- file://firefox-plugin.pc \
- file://firefox-xpcom.pc \
- file://nspr.pc \
-"
-
-SRC_URI[archive.md5sum] = "5e4541ab23084b7b14ba228291ce2688"
-SRC_URI[archive.sha256sum] = "35a0b35d79baa502b6c5781ed3e9c4b5eb623bdaf1940460dcf465192848a2d0"
-
-S = "${WORKDIR}/mozilla-1.9.2"
-
-inherit mozilla
-require firefox.inc
-
-EXTRA_OECONF += " --enable-official-branding --disable-crashreporter"
-
-
-FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
-
-do_compile_prepend() {
- cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
- sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
-}
-
diff --git a/recipes/mozilla/firefox_3.6.bb b/recipes/mozilla/firefox_3.6.bb
deleted file mode 100644
index cb542cbc5d..0000000000
--- a/recipes/mozilla/firefox_3.6.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-DEPENDS += "cairo sqlite3 libnotify"
-
-PR = "r4"
-
-# The .pc files below have "3.6" hardcoded, fix that before using them in a newer FF version!
-SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2;name=archive \
- file://jsautocfg.h \
- file://security-cross.patch \
- file://Bug339782.additional.fix.diff \
- file://Bug385583.nspr.jmp_buf.eabi.diff \
- file://Bug405992.atomic.nspr.diff \
- file://jemalloc-tls.patch \
- file://0001-Remove-Werror-from-build.patch \
- file://0002-Fix-security-cross-compile-cpu-detection-error.patch \
- file://plugins-dir.patch \
- file://firefox-plugin.pc \
- file://firefox-xpcom.pc \
- file://nspr.pc \
-"
-
-SRC_URI[archive.md5sum] = "458051557ff49e6a352c1d56eee5782a"
-SRC_URI[archive.sha256sum] = "8d4f12fff7bc361d83e6b486f9ec4264c60114ed86c805e1221b3d30efec0a4b"
-
-S = "${WORKDIR}/mozilla-1.9.2"
-
-inherit mozilla
-require firefox.inc
-
-EXTRA_OECONF += " --enable-official-branding --disable-crashreporter"
-
-
-FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
-
-do_compile_prepend() {
- cp ${WORKDIR}/jsautocfg.h ${S}/js/src/
- sed -i "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" security/coreconf/Linux.mk
-}
-