aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-11-21 07:01:15 +0800
committerflo <flo@FreeBSD.org>2012-11-21 07:01:15 +0800
commit863d3363c2d8ac1786cfdb304a12a6d367d9307a (patch)
treed56a366dfc71562e65a02f0224eed5e9c21419cd /www/seamonkey
parentf99cfe91e355cbafa8c8f72438f0e7e4e2544523 (diff)
downloadfreebsd-ports-gnome-863d3363c2d8ac1786cfdb304a12a6d367d9307a.tar.gz
freebsd-ports-gnome-863d3363c2d8ac1786cfdb304a12a6d367d9307a.tar.zst
freebsd-ports-gnome-863d3363c2d8ac1786cfdb304a12a6d367d9307a.zip
- Update firefox and thunderbird to 17.0
- Update seamonkey to 2.14 - Update ESR ports and libxul to 10.0.11 - support more h264 codecs when using GSTREAMER with YouTube - Unbreak firefox-esr, thunderbird-esr and libxul on head >= 1000024 [1] - Buildsystem is not python 3 aware, use python up to 2.7 [2] PR: ports/173679 [1] Submitted by: swills [1], demon [2] In collaboration with: Jan Beich <jbeich@tormail.org> Security: d23119df-335d-11e2-b64c-c8600054b392 Approved by: portmgr (beat) Feature safe: yes
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile11
-rw-r--r--www/seamonkey/distinfo4
-rw-r--r--www/seamonkey/files/extra-bug78053141
-rw-r--r--www/seamonkey/files/patch-alsapulse80
-rw-r--r--www/seamonkey/files/patch-bug75304684
-rw-r--r--www/seamonkey/files/patch-bug76107788
-rw-r--r--www/seamonkey/files/patch-bug77467140
-rw-r--r--www/seamonkey/files/patch-bug77525727
-rw-r--r--www/seamonkey/files/patch-bug77769632
-rw-r--r--www/seamonkey/files/patch-bug77805621
-rw-r--r--www/seamonkey/files/patch-bug77984728
-rw-r--r--www/seamonkey/files/patch-bug78346320
-rw-r--r--www/seamonkey/files/patch-bug78474143
-rw-r--r--www/seamonkey/files/patch-bug78477633
-rw-r--r--www/seamonkey/files/patch-bug78803911
-rw-r--r--www/seamonkey/files/patch-bug7881082
-rw-r--r--www/seamonkey/files/patch-bug78895510
-rw-r--r--www/seamonkey/files/patch-bug80613929
-rw-r--r--www/seamonkey/files/patch-config-autoconf.mk.in21
-rw-r--r--www/seamonkey/files/patch-config-baseconfig.mk10
-rw-r--r--www/seamonkey/files/patch-mailnews-addrbook-src-nsDirPrefs.cpp20
-rw-r--r--www/seamonkey/files/patch-mailnews-compose-src-nsSmtpProtocol.cpp29
-rw-r--r--www/seamonkey/files/patch-mozilla-content-svg-content-src-nsSVGElement.cpp15
-rw-r--r--www/seamonkey/files/patch-mozilla-js-src-configure.in6
24 files changed, 126 insertions, 579 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 0fb1650cab2e..d215b88903ee 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: mozilla
-# Date created: 31 Mar 1998
-# Whom: eivind/dima/jseger
-#
+# Created by: eivind/dima/jseger
# $FreeBSD$
-#
PORTNAME= seamonkey
-DISTVERSION= 2.13.2
-PORTREVISION= 1
+DISTVERSION= 2.14
CATEGORIES?= www ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}/source
@@ -26,7 +21,7 @@ BUILD_DEPENDS= nspr>=4.9:${PORTSDIR}/devel/nspr \
EM_VERSION= 1.4.6
USE_AUTOTOOLS= autoconf213:env
-USE_PYTHON_BUILD=yes
+USE_PYTHON_BUILD=-2.7
USE_BZIP2= yes
USE_GMAKE= yes
USE_GECKO= gecko
diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo
index 88ffadad681d..300d2a7614c6 100644
--- a/www/seamonkey/distinfo
+++ b/www/seamonkey/distinfo
@@ -1,4 +1,4 @@
-SHA256 (seamonkey-2.13.2.source.tar.bz2) = 2bdbe1bf7da4810d91e696e1cfde1c82e211ba69b15fd9b6574b6cb898252ce3
-SIZE (seamonkey-2.13.2.source.tar.bz2) = 112085041
+SHA256 (seamonkey-2.14.source.tar.bz2) = 1a42a9fb31929c5607169be6a27b3ce8496887c505c6236efcbc5c5ff52e5914
+SIZE (seamonkey-2.14.source.tar.bz2) = 114330817
SHA256 (enigmail-1.4.6.tar.gz) = f3771d1faa26676818bab5e2c50dce85013b9de30b82de526159eaa7ca34f036
SIZE (enigmail-1.4.6.tar.gz) = 1262280
diff --git a/www/seamonkey/files/extra-bug780531 b/www/seamonkey/files/extra-bug780531
index a035ce397cc7..cbb71630e9a8 100644
--- a/www/seamonkey/files/extra-bug780531
+++ b/www/seamonkey/files/extra-bug780531
@@ -1,32 +1,13 @@
--- mozilla/configure.in~
+++ mozilla/configure.in
-@@ -5282,10 +5282,13 @@ if test -n "$MOZ_OGG"; then
- MOZ_SYDNEYAUDIO=1
- MOZ_CUBEB=1
- MOZ_MEDIA=1
-- case "$target_cpu" in
-+ case "$target" in
- arm*)
- MOZ_TREMOR=1
- ;;
-+ *-freebsd*)
-+ MOZ_TREMOR=1
-+ ;;
- *)
- MOZ_VORBIS=1
- ;;
-@@ -5417,10 +5420,13 @@ if test "$MOZ_WEBM"; then
- MOZ_SYDNEYAUDIO=1
- MOZ_CUBEB=1
- MOZ_MEDIA=1
-- case "$target_cpu" in
-+ case "$target" in
- arm*)
- MOZ_TREMOR=1
- ;;
-+ *-freebsd*)
-+ MOZ_TREMOR=1
-+ ;;
- *)
- MOZ_VORBIS=1
- ;;
+@@ -5151,8 +5148,8 @@ fi
+
+ AC_SUBST(MOZ_WEBRTC)
+
+-case "$target_cpu" in
+-arm*)
++case "$target" in
++arm-*-linux*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
+ MOZ_SAMPLE_TYPE_S16LE=1
+ AC_DEFINE(MOZ_SAMPLE_TYPE_S16LE)
+ AC_SUBST(MOZ_SAMPLE_TYPE_S16LE)
diff --git a/www/seamonkey/files/patch-alsapulse b/www/seamonkey/files/patch-alsapulse
index f3e94050d63d..6dbc3227711c 100644
--- a/www/seamonkey/files/patch-alsapulse
+++ b/www/seamonkey/files/patch-alsapulse
@@ -1,27 +1,8 @@
-diff --git mozilla/config/autoconf.mk.in mozilla/config/autoconf.mk.in
-index 44c0b06..748511b 100644
---- mozilla/config/autoconf.mk.in
-+++ mozilla/config/autoconf.mk.in
-@@ -536,9 +536,14 @@ MOZ_LIBNOTIFY_CFLAGS = @MOZ_LIBNOTIFY_CFLAGS@
- MOZ_LIBNOTIFY_LIBS = @MOZ_LIBNOTIFY_LIBS@
- MOZ_ENABLE_LIBNOTIFY = @MOZ_ENABLE_LIBNOTIFY@
-
-+MOZ_ALSA = @MOZ_ALSA@
- MOZ_ALSA_LIBS = @MOZ_ALSA_LIBS@
- MOZ_ALSA_CFLAGS = @MOZ_ALSA_CFLAGS@
-
-+MOZ_PULSEAUDIO = @MOZ_PULSEAUDIO@
-+MOZ_PULSEAUDIO_LIBS = @MOZ_PULSEAUDIO_LIBS@
-+MOZ_PULSEAUDIO_CFLAGS = @MOZ_PULSEAUDIO_CFLAGS@
-+
- GLIB_CFLAGS = @GLIB_CFLAGS@
- GLIB_LIBS = @GLIB_LIBS@
- GLIB_GMODULE_LIBS = @GLIB_GMODULE_LIBS@
diff --git mozilla/configure.in mozilla/configure.in
index 5980b76..11f5f77 100644
--- mozilla/configure.in
+++ mozilla/configure.in
-@@ -5600,13 +5600,45 @@ dnl ========================================================
+@@ -5600,13 +5600,25 @@ dnl ========================================================
dnl = Check alsa availability on Linux if using sydneyaudio
dnl ========================================================
@@ -45,28 +26,8 @@ index 5980b76..11f5f77 100644
+AC_SUBST(MOZ_ALSA)
+
-+dnl ========================================================
-+dnl = Enable PulseAudio
-+dnl ========================================================
-+
-+MOZ_ARG_ENABLE_BOOL(pulseaudio,
-+[ --enable-pulseaudio Enable PulseAudio support],
-+MOZ_PULSEAUDIO=1,
-+MOZ_PULSEAUDIO=)
-+
-+if test -n "$MOZ_PULSEAUDIO"; then
-+ AC_DEFINE(MOZ_CUBEB)
-+ PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, ,
-+ [echo "$MOZ_PULSEAUDIO_PKG_ERRORS"
-+ AC_MSG_ERROR([pulseaudio audio backend requires libpulse package])])
-+fi
-+
-+AC_SUBST(MOZ_PULSEAUDIO_CFLAGS)
-+AC_SUBST(MOZ_PULSEAUDIO_LIBS)
-+AC_SUBST(MOZ_PULSEAUDIO)
-+
dnl ========================================================
- dnl = Enable GStreamer
+ dnl = Enable PulseAudio
dnl ========================================================
diff --git mozilla/media/libcubeb/src/Makefile.in mozilla/media/libcubeb/src/Makefile.in
index 5ab4dd8..c8df26f 100644
@@ -83,7 +44,7 @@ index 5ab4dd8..c8df26f 100644
endif
ifeq ($(OS_TARGET),Darwin)
-@@ -42,4 +38,16 @@ CSRCS = \
+@@ -42,6 +38,12 @@ CSRCS = \
$(NULL)
endif
@@ -93,25 +54,9 @@ index 5ab4dd8..c8df26f 100644
+ $(NULL)
+endif
+
-+ifdef MOZ_PULSEAUDIO
-+CSRCS = \
-+ cubeb_pulse.c \
-+ $(NULL)
-+endif
-+
- include $(topsrcdir)/config/rules.mk
-diff --git mozilla/media/libcubeb/src/cubeb_alsa.c media/libcubeb/src/cubeb_alsa.c
-index 599aea2..41fd5af 100644
---- mozilla/media/libcubeb/src/cubeb_alsa.c
-+++ mozilla/media/libcubeb/src/cubeb_alsa.c
-@@ -6,6 +6,6 @@
- #undef NDEBUG
- #define _BSD_SOURCE
--#define _POSIX_SOURCE
-+#define _XOPEN_SOURCE 500
- #include <pthread.h>
- #include <sys/time.h>
- #include <assert.h>
+ ifdef MOZ_PULSEAUDIO
+ CSRCS = \
+ cubeb_pulse.c \
diff --git mozilla/media/libsydneyaudio/src/Makefile.in mozilla/media/libsydneyaudio/src/Makefile.in
index 8dda8ce..b19641d 100644
--- mozilla/media/libsydneyaudio/src/Makefile.in
@@ -150,7 +95,7 @@ diff --git mozilla/toolkit/library/Makefile.in mozilla/toolkit/library/Makefile.
index 43384e9..e46a6e3 100644
--- mozilla/toolkit/library/Makefile.in
+++ mozilla/toolkit/library/Makefile.in
-@@ -379,10 +379,13 @@ endif
+@@ -370,14 +370,11 @@ endif
EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib)
@@ -160,9 +105,10 @@ index 43384e9..e46a6e3 100644
+ifdef MOZ_ALSA
EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS)
endif
-+ifdef MOZ_PULSEAUDIO
-+EXTRA_DSO_LDOPTS += $(MOZ_PULSEAUDIO_LIBS)
-+endif
+-endif
+-
+ ifdef MOZ_PULSEAUDIO
+-ifdef MOZ_CUBEB
+ EXTRA_DSO_LDOPTS += $(MOZ_PULSEAUDIO_LIBS)
+ endif
endif
-
- ifdef HAVE_CLOCK_MONOTONIC
diff --git a/www/seamonkey/files/patch-bug753046 b/www/seamonkey/files/patch-bug753046
index 658d47f827bb..8dbb09a9b55e 100644
--- a/www/seamonkey/files/patch-bug753046
+++ b/www/seamonkey/files/patch-bug753046
@@ -56,7 +56,7 @@ $NetBSD: patch-ipc_chromium_Makefile.in,v 1.1 2012/03/06 12:34:09 ryoon Exp $
--- mozilla/ipc/chromium/Makefile.in.orig 2012-02-16 06:40:33.000000000 +0000
+++ mozilla/ipc/chromium/Makefile.in
-@@ -278,6 +278,34 @@ endif
+@@ -278,6 +278,33 @@ endif
endif # } OS_LINUX
@@ -64,7 +64,6 @@ $NetBSD: patch-ipc_chromium_Makefile.in,v 1.1 2012/03/06 12:34:09 ryoon Exp $
+
+CPPSRCS += \
+ atomicops_internals_x86_gcc.cc \
-+ file_util_linux.cc \
+ process_util_bsd.cc \
+ time_posix.cc \
+ $(NULL)
@@ -404,19 +403,6 @@ index 9a34492..62b280c 100644
#else
typedef DirReaderFallback DirReaderPosix;
#endif
-diff --git mozilla/ipc/chromium/src/base/file_util_linux.cc mozilla/ipc/chromium/src/base/file_util_linux.cc
-index 171e44f..0c6dfcc 100644
---- mozilla/ipc/chromium/src/base/file_util_linux.cc
-+++ mozilla/ipc/chromium/src/base/file_util_linux.cc
-@@ -28,7 +28,7 @@ bool GetTempDir(FilePath* path) {
- }
-
- bool GetShmemTempDir(FilePath* path) {
--#ifdef ANDROID
-+#if defined(ANDROID) || defined(OS_BSD)
- return GetTempDir(path);
- #else
- *path = FilePath("/dev/shm");
$NetBSD: patch-ipc_chromium_src_base_file__util__posix.cc,v 1.2 2012/03/06 12:34:09 ryoon Exp $
--- mozilla/ipc/chromium/src/base/file_util_posix.cc.orig 2011-12-20 23:28:19.000000000 +0000
@@ -541,8 +527,7 @@ $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.4 2012/04/01
pthread_set_name_np(pthread_self(), name);
-#elif defined(__NetBSD__)
+#elif defined(OS_NETBSD)
-- pthread_setname_np(pthread_self(), "%s", name);
-+ pthread_setname_np(pthread_self(), "%s", (void *)name);
+ pthread_setname_np(pthread_self(), "%s", (void *)name);
#else
prctl(PR_SET_NAME, reinterpret_cast<uintptr_t>(name), 0, 0, 0);
$NetBSD: patch-ipc_chromium_src_base_process__util.h,v 1.1 2012/03/06 12:34:09 ryoon Exp $
@@ -586,7 +571,7 @@ $NetBSD: patch-ipc_chromium_src_base_process__util__bsd.cc,v 1.4 2012/04/01 15:1
--- mozilla/ipc/chromium/src/base/process_util_bsd.cc.orig 2012-04-01 00:04:28.000000000 +0000
+++ mozilla/ipc/chromium/src/base/process_util_bsd.cc
-@@ -0,0 +1,318 @@
+@@ -0,0 +1,367 @@
+// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -621,6 +606,20 @@ $NetBSD: patch-ipc_chromium_src_base_process__util__bsd.cc,v 1.4 2012/04/01 15:1
+#define HAVE_POSIX_SPAWN 1
+#endif
+
++/*
++ * On platforms that are not gonk based, we fall back to an arbitrary
++ * UID. This is generally the UID for user `nobody', albeit it is not
++ * always the case.
++ */
++
++#if defined(OS_NETBSD) || defined(OS_OPENBSD)
++# define CHILD_UNPRIVILEGED_UID 32767
++# define CHILD_UNPRIVILEGED_GID 32767
++#else
++# define CHILD_UNPRIVILEGED_UID 65534
++# define CHILD_UNPRIVILEGED_GID 65534
++#endif
++
+#ifndef __dso_public
+# ifdef __exported
+# define __dso_public __exported
@@ -669,6 +668,17 @@ $NetBSD: patch-ipc_chromium_src_base_process__util__bsd.cc,v 1.4 2012/04/01 15:1
+ const environment_map& env_vars_to_set,
+ bool wait, ProcessHandle* process_handle,
+ ProcessArchitecture arch) {
++ return LaunchApp(argv, fds_to_remap, env_vars_to_set,
++ SAME_PRIVILEGES_AS_PARENT,
++ wait, process_handle);
++}
++
++bool LaunchApp(const std::vector<std::string>& argv,
++ const file_handle_mapping_vector& fds_to_remap,
++ const environment_map& env_vars_to_set,
++ ChildPrivileges privs,
++ bool wait, ProcessHandle* process_handle,
++ ProcessArchitecture arch) {
+ bool retval = true;
+
+ char* argv_copy[argv.size() + 1];
@@ -783,6 +793,17 @@ $NetBSD: patch-ipc_chromium_src_base_process__util__bsd.cc,v 1.4 2012/04/01 15:1
+ const environment_map& env_vars_to_set,
+ bool wait, ProcessHandle* process_handle,
+ ProcessArchitecture arch) {
++ return LaunchApp(argv, fds_to_remap, env_vars_to_set,
++ SAME_PRIVILEGES_AS_PARENT,
++ wait, process_handle);
++}
++
++bool LaunchApp(const std::vector<std::string>& argv,
++ const file_handle_mapping_vector& fds_to_remap,
++ const environment_map& env_vars_to_set,
++ ChildPrivileges privs,
++ bool wait, ProcessHandle* process_handle,
++ ProcessArchitecture arch) {
+ scoped_array<char*> argv_cstr(new char*[argv.size() + 1]);
+ // Illegal to allocate memory after fork and before execvp
+ InjectiveMultimap fd_shuffle1, fd_shuffle2;
@@ -805,19 +826,32 @@ $NetBSD: patch-ipc_chromium_src_base_process__util__bsd.cc,v 1.4 2012/04/01 15:1
+
+ CloseSuperfluousFds(fd_shuffle2);
+
++ for (size_t i = 0; i < argv.size(); i++)
++ argv_cstr[i] = const_cast<char*>(argv[i].c_str());
++ argv_cstr[argv.size()] = NULL;
++
++ if (privs == UNPRIVILEGED) {
++ if (setgid(CHILD_UNPRIVILEGED_GID) != 0) {
++ DLOG(ERROR) << "FAILED TO setgid() CHILD PROCESS, path: " << argv_cstr[0];
++ _exit(127);
++ }
++ if (setuid(CHILD_UNPRIVILEGED_UID) != 0) {
++ DLOG(ERROR) << "FAILED TO setuid() CHILD PROCESS, path: " << argv_cstr[0];
++ _exit(127);
++ }
++ if (chdir("/") != 0)
++ gProcessLog.print("==> could not chdir()\n");
++ }
++
+ for (environment_map::const_iterator it = env_vars_to_set.begin();
+ it != env_vars_to_set.end(); ++it) {
+ if (setenv(it->first.c_str(), it->second.c_str(), 1/*overwrite*/))
+ _exit(127);
+ }
-+
-+ for (size_t i = 0; i < argv.size(); i++)
-+ argv_cstr[i] = const_cast<char*>(argv[i].c_str());
-+ argv_cstr[argv.size()] = NULL;
-+ execvp(argv_cstr[0], argv_cstr.get());
++ execv(argv_cstr[0], argv_cstr.get());
+ // if we get here, we're in serious trouble and should complain loudly
+ DLOG(ERROR) << "FAILED TO exec() CHILD PROCESS, path: " << argv_cstr[0];
-+ exit(127);
++ _exit(127);
+ } else {
+ gProcessLog.print("==> process %d launched child process %d\n",
+ GetCurrentProcId(), pid);
@@ -1144,7 +1178,7 @@ $NetBSD: patch-ipc_glue_GeckoChildProcessHost.cpp,v 1.2 2012/03/15 08:30:06 ryoo
base::LaunchApp(childArgv, mFileMap,
-#if defined(OS_LINUX) || defined(OS_MACOSX)
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD)
- newEnvVars,
+ newEnvVars, privs,
#endif
false, &process, arch);
diff --git ipc/glue/SharedMemorySysV.h ipc/glue/SharedMemorySysV.h
diff --git a/www/seamonkey/files/patch-bug761077 b/www/seamonkey/files/patch-bug761077
deleted file mode 100644
index 3c8040ed6754..000000000000
--- a/www/seamonkey/files/patch-bug761077
+++ /dev/null
@@ -1,88 +0,0 @@
-diff --git mozilla/xpcom/reflect/xptcall/public/genstubs.pl mozilla/xpcom/reflect/xptcall/public/genstubs.pl
-index b8a87a5..918c4cf 100644
---- mozilla/xpcom/reflect/xptcall/public/genstubs.pl
-+++ mozilla/xpcom/reflect/xptcall/public/genstubs.pl
-@@ -44,7 +44,7 @@ print OUTFILE "* 0 is QueryInterface\n";
- print OUTFILE "* 1 is AddRef\n";
- print OUTFILE "* 2 is Release\n";
- print OUTFILE "*/\n";
--print OUTFILE "#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))\n";
-+print OUTFILE "#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__))\n";
- for($i = 0; $i < $entry_count; $i++) {
- print OUTFILE "NS_IMETHOD Stub",$i+3,"();\n";
- }
-diff --git mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc
-index eb66761..807db26 100644
---- mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc
-+++ mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc
-@@ -8,7 +8,7 @@
- * 1 is AddRef
- * 2 is Release
- */
--#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
-+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__))
- NS_IMETHOD Stub3();
- NS_IMETHOD Stub4();
- NS_IMETHOD Stub5();
-diff --git mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-index ae6ed66..2783957 100644
---- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
-@@ -70,7 +70,7 @@ endif
- endif
- endif
- # IA64 Linux
--ifneq (,$(filter Linux,$(OS_ARCH)))
-+ifneq (,$(filter Linux FreeBSD,$(OS_ARCH)))
- ifneq (,$(findstring ia64,$(OS_TEST)))
- CPPSRCS := xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp
- ASFILES := xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s
-@@ -269,7 +269,7 @@ endif
- #
- # Linux/PPC
- #
--ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
-+ifneq (,$(filter Linuxpowerpc FreeBSDpowerpc,$(OS_ARCH)$(OS_TEST)))
- CPPSRCS := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
- ASFILES := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
- AS := $(CC) -c -x assembler-with-cpp
-@@ -278,7 +278,7 @@ endif
- #
- # Linux/PPC64
- #
--ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc64)
-+ifneq (,$(filter Linuxpowerpc64 FreeBSDpowerpc64,$(OS_ARCH)$(OS_TEST)))
- CPPSRCS := xptcinvoke_ppc64_linux.cpp xptcstubs_ppc64_linux.cpp
- ASFILES := xptcinvoke_asm_ppc64_linux.s xptcstubs_asm_ppc64_linux.s
- AS := $(CC) -c -x assembler-with-cpp
-@@ -350,7 +350,7 @@ endif
- #
- # OpenBSD/SPARC64
- #
--ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc64)
-+ifneq (,$(filter OpenBSDsparc64 FreeBSDsparc64,$(OS_ARCH)$(OS_TEST)))
- CPPSRCS := xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp
- ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
- endif
-diff --git mozilla/xpcom/reflect/xptcall/src/xptcprivate.h mozilla/xpcom/reflect/xptcall/src/xptcprivate.h
-index d903ced..e4ec832 100644
---- mozilla/xpcom/reflect/xptcall/src/xptcprivate.h
-+++ mozilla/xpcom/reflect/xptcall/src/xptcprivate.h
-@@ -14,7 +14,7 @@
-
- class xptiInterfaceEntry;
-
--#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
-+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__))
- #define STUB_ENTRY(n) NS_IMETHOD Stub##n() = 0;
- #else
- #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64) = 0;
-@@ -31,7 +31,7 @@ public:
- #undef STUB_ENTRY
- #undef SENTINEL_ENTRY
-
--#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
-+#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__) && !defined(__FreeBSD__))
- #define STUB_ENTRY(n) NS_IMETHOD Stub##n();
- #else
- #define STUB_ENTRY(n) NS_IMETHOD Stub##n(PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64,PRUint64);
diff --git a/www/seamonkey/files/patch-bug774671 b/www/seamonkey/files/patch-bug774671
deleted file mode 100644
index bc1c63bc2245..000000000000
--- a/www/seamonkey/files/patch-bug774671
+++ /dev/null
@@ -1,40 +0,0 @@
-commit 7e9eda2
-Author: Rafael Ávila de Espíndola <respindola@mozilla.com>
-Date: Tue Jul 17 12:54:41 2012 -0400
-
- Bug 774671 - Fix mismatched declarations. r=luke.
----
- mozilla/js/src/jsproxy.h | 2 +-
- mozilla/js/src/jsprvtd.h | 6 +++---
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git mozilla/js/src/jsproxy.h mozilla/js/src/jsproxy.h
-index ec26e3a..aa0e782 100644
---- mozilla/js/src/jsproxy.h
-+++ mozilla/js/src/jsproxy.h
-@@ -13,7 +13,7 @@
-
- namespace js {
-
--class Wrapper;
-+class JS_FRIEND_API(Wrapper);
-
- /*
- * A proxy is a JSObject that implements generic behavior by providing custom
-diff --git mozilla/js/src/jsprvtd.h mozilla/js/src/jsprvtd.h
-index 19b5aef..93e1216 100644
---- mozilla/js/src/jsprvtd.h
-+++ mozilla/js/src/jsprvtd.h
-@@ -146,9 +146,9 @@ struct TreeContext;
- class UpvarCookie;
-
- class Proxy;
--class BaseProxyHandler;
--class DirectWrapper;
--class CrossCompartmentWrapper;
-+class JS_FRIEND_API(BaseProxyHandler);
-+class JS_FRIEND_API(DirectWrapper);
-+class JS_FRIEND_API(CrossCompartmentWrapper);
-
- class TempAllocPolicy;
- class RuntimeAllocPolicy;
diff --git a/www/seamonkey/files/patch-bug775257 b/www/seamonkey/files/patch-bug775257
deleted file mode 100644
index 904fec24a5a5..000000000000
--- a/www/seamonkey/files/patch-bug775257
+++ /dev/null
@@ -1,27 +0,0 @@
-commit 8fc8b74
-Author: Oleg Romashin <oleg.romashin@nokia.com>
-Date: Wed Jul 18 22:46:11 2012 -0400
-
- Bug 775257 - Gstreamer backend on Meego N9 produce extra noise in audio playback.r=giles
----
- content/media/gstreamer/nsGStreamerReader.cpp | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git mozilla/content/media/gstreamer/nsGStreamerReader.cpp mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-index c48f92e..0fb801a 100644
---- mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-+++ mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-@@ -130,8 +130,13 @@ nsresult nsGStreamerReader::Init(nsBuiltinDecoderReader* aCloneDonor)
- gst_object_unref(sinkpad);
-
- mAudioSink = gst_parse_bin_from_description("capsfilter name=filter ! "
-+#ifndef MOZ_TREMOR
- "appsink name=audiosink sync=true caps=audio/x-raw-float,"
- "channels={1,2},rate=44100,width=32,endianness=1234", TRUE, NULL);
-+#else
-+ "appsink name=audiosink sync=true caps=audio/x-raw-int,"
-+ "channels={1,2},rate=48000,width=16,endianness=1234", TRUE, NULL);
-+#endif
- mAudioAppSink = GST_APP_SINK(gst_bin_get_by_name(GST_BIN(mAudioSink),
- "audiosink"));
- gst_app_sink_set_callbacks(mAudioAppSink, &mSinkCallbacks,
diff --git a/www/seamonkey/files/patch-bug777696 b/www/seamonkey/files/patch-bug777696
deleted file mode 100644
index 4ac884a1452c..000000000000
--- a/www/seamonkey/files/patch-bug777696
+++ /dev/null
@@ -1,32 +0,0 @@
-commit 0c0d1a8
-Author: Landry Breuil <landry@openbsd.org>
-Date: Mon Jul 30 17:57:15 2012 +0200
-
- Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec
----
- content/media/gstreamer/nsGStreamerReader.cpp | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git mozilla/content/media/gstreamer/nsGStreamerReader.cpp mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-index 0fb801a..4a69196 100644
---- mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-+++ mozilla/content/media/gstreamer/nsGStreamerReader.cpp
-@@ -132,10 +132,18 @@ nsresult nsGStreamerReader::Init(nsBuiltinDecoderReader* aCloneDonor)
- mAudioSink = gst_parse_bin_from_description("capsfilter name=filter ! "
- #ifdef MOZ_TREMOR
- "appsink name=audiosink sync=true caps=audio/x-raw-float,"
-+#ifdef IS_LITTLE_ENDIAN
- "channels={1,2},rate=44100,width=32,endianness=1234", TRUE, NULL);
- #else
-+ "channels={1,2},rate=44100,width=32,endianness=4321", TRUE, NULL);
-+#endif
-+#else
- "appsink name=audiosink sync=true caps=audio/x-raw-int,"
-+#ifdef IS_LITTLE_ENDIAN
- "channels={1,2},rate=48000,width=16,endianness=1234", TRUE, NULL);
-+#else
-+ "channels={1,2},rate=48000,width=16,endianness=4321", TRUE, NULL);
-+#endif
- #endif
- mAudioAppSink = GST_APP_SINK(gst_bin_get_by_name(GST_BIN(mAudioSink),
- "audiosink"));
diff --git a/www/seamonkey/files/patch-bug778056 b/www/seamonkey/files/patch-bug778056
deleted file mode 100644
index 468c103e4bf5..000000000000
--- a/www/seamonkey/files/patch-bug778056
+++ /dev/null
@@ -1,21 +0,0 @@
---- mozilla/memory/mozalloc/mozalloc.cpp~
-+++ mozilla/memory/mozalloc/mozalloc.cpp
-@@ -19,6 +19,9 @@
- #if defined(XP_UNIX)
- # include <unistd.h> // for valloc on *BSD
- #endif //if defined(XP_UNIX)
-+#if defined(__FreeBSD__)
-+# include <malloc_np.h> // for malloc_usable_size
-+#endif // if defined(__FreeBSD__)
-
- #if defined(XP_WIN) || (defined(XP_OS2) && defined(__declspec))
- # define MOZALLOC_EXPORT __declspec(dllexport)
-@@ -210,7 +213,7 @@ moz_malloc_usable_size(void *ptr)
-
- #if defined(XP_MACOSX)
- return malloc_size(ptr);
--#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID))
-+#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID)) || defined(__FreeBSD__)
- // Android bionic libc doesn't have malloc_usable_size.
- return malloc_usable_size(ptr);
- #elif defined(XP_WIN)
diff --git a/www/seamonkey/files/patch-bug779847 b/www/seamonkey/files/patch-bug779847
deleted file mode 100644
index ed30d515af31..000000000000
--- a/www/seamonkey/files/patch-bug779847
+++ /dev/null
@@ -1,28 +0,0 @@
---- mozilla/gfx/ycbcr/Makefile.in
-+++ mozilla/gfx/ycbcr/Makefile.in
-@@ -54,23 +54,13 @@ CPPSRCS += yuv_row_win.cpp \
- $(NULL)
- endif
- else
--ifeq ($(OS_ARCH),Linux)
--CPPSRCS += yuv_row_posix.cpp \
-- $(NULL)
--else
--ifeq ($(OS_ARCH),SunOS)
--CPPSRCS += yuv_row_posix.cpp \
-- $(NULL)
--else
--ifeq ($(OS_ARCH),Darwin)
-+ifneq (,$(filter Linux SunOS Darwin DragonFly FreeBSD NetBSD OpenBSD, $(OS_ARCH)))
- CPPSRCS += yuv_row_posix.cpp \
- $(NULL)
- else
- CPPSRCS += yuv_row_other.cpp \
- $(NULL)
--endif # Darwin
--endif # SunOS
--endif # linux
-+endif # posix
- endif # windows
-
- ifeq (arm,$(findstring arm,$(OS_TEST)))
diff --git a/www/seamonkey/files/patch-bug783463 b/www/seamonkey/files/patch-bug783463
index 192eb5b99f73..a774272227ea 100644
--- a/www/seamonkey/files/patch-bug783463
+++ b/www/seamonkey/files/patch-bug783463
@@ -12,23 +12,3 @@
SkTime_Unix.cpp \
$(NULL)
endif
---- mozilla/widget/qt/nsNativeThemeQt.cpp~
-+++ mozilla/widget/qt/nsNativeThemeQt.cpp
-@@ -25,7 +25,6 @@
- #include "nsThemeConstants.h"
- #include "nsIServiceManager.h"
- #include "nsIDOMHTMLInputElement.h"
--#include <malloc.h>
-
-
- #include "gfxASurface.h"
---- mozilla/widget/qt/nsSound.cpp~
-+++ mozilla/widget/qt/nsSound.cpp
-@@ -40,6 +40,7 @@
- #include <QSound>
-
- #include <string.h>
-+#include <unistd.h>
-
- #include "nscore.h"
- #include "plstr.h"
diff --git a/www/seamonkey/files/patch-bug784741 b/www/seamonkey/files/patch-bug784741
deleted file mode 100644
index 0b0611afa312..000000000000
--- a/www/seamonkey/files/patch-bug784741
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git js/src/Makefile.in js/src/Makefile.in
-index 8eb385f..01bd8e3 100644
---- mozilla/js/src/Makefile.in
-+++ mozilla/js/src/Makefile.in
-@@ -323,6 +323,7 @@ endif
-
- ifneq (,$(filter arm% sparc %86 x86_64 mips%,$(TARGET_CPU)))
- ENABLE_YARR_JIT = 1
-+DEFINES += -DENABLE_YARR_JIT=1
-
- VPATH += $(srcdir)/assembler/assembler \
- $(srcdir)/methodjit \
-diff --git js/src/assembler/wtf/Platform.h js/src/assembler/wtf/Platform.h
-index 6570f2d..0c84896 100644
---- mozilla/js/src/assembler/wtf/Platform.h
-+++ mozilla/js/src/assembler/wtf/Platform.h
-@@ -1102,9 +1102,7 @@
- #if WTF_PLATFORM_CHROMIUM
- #define ENABLE_YARR_JIT 0
-
--#elif ENABLE_JIT && !defined(ENABLE_YARR_JIT)
--#define ENABLE_YARR_JIT 1
--
-+#elif ENABLE_YARR_JIT
- /* Setting this flag compares JIT results with interpreter results. */
- #define ENABLE_YARR_JIT_DEBUG 0
- #endif
-diff --git js/src/configure.in js/src/configure.in
-index c142eb7..34f98b9 100644
---- mozilla/js/src/configure.in
-+++ mozilla/js/src/configure.in
-@@ -3347,7 +3347,10 @@ MOZ_ARG_ENABLE_STRING(debug,
- (using compiler flags DBG)],
- [ if test "$enableval" != "no"; then
- MOZ_DEBUG=1
-- ENABLE_METHODJIT_SPEW=1
-+ if test "$ENABLE_METHODJIT"; then
-+ # needs MethodJIT or YarrJIT
-+ ENABLE_METHODJIT_SPEW=1
-+ fi
- if test -n "$enableval" -a "$enableval" != "yes"; then
- MOZ_DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'`
- _MOZ_DEBUG_FLAGS_SET=1
diff --git a/www/seamonkey/files/patch-bug784776 b/www/seamonkey/files/patch-bug784776
deleted file mode 100644
index 95d60a104809..000000000000
--- a/www/seamonkey/files/patch-bug784776
+++ /dev/null
@@ -1,33 +0,0 @@
---- mozilla/gfx/layers/opengl/ImageLayerOGL.cpp~
-+++ mozilla/gfx/layers/opengl/ImageLayerOGL.cpp
-@@ -936,7 +936,7 @@ ShadowImageLayerOGL::CleanupResources()
- {
- if (mSharedHandle) {
- gl()->ReleaseSharedHandle(mShareType, mSharedHandle);
-- mSharedHandle = NULL;
-+ mSharedHandle = 0;
- }
-
- mYUVTexture[0].Release();
---- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp~
-+++ mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp
-@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr
- struct tm *tmc;
- int i;
-
-- tt = time((time_t)NULL);
-+ tt = time(NULL);
- tmc = localtime(&tt);
-
- tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM
---- mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp~
-+++ mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp
-@@ -40,7 +40,7 @@ CrossProcessMutexHandle
- CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle)
- {
- NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
-- return NULL;
-+ return 0;
- }
-
- }
diff --git a/www/seamonkey/files/patch-bug788039 b/www/seamonkey/files/patch-bug788039
index c42105d133c4..e449b5e5b1a2 100644
--- a/www/seamonkey/files/patch-bug788039
+++ b/www/seamonkey/files/patch-bug788039
@@ -1,16 +1,5 @@
# Bug 788039 - With no prefix search libevent via pkg-config.
---- mozilla/config/autoconf.mk.in~
-+++ mozilla/config/autoconf.mk.in
-@@ -227,7 +227,7 @@ MOZ_HUNSPELL_CFLAGS = @MOZ_HUNSPELL_CFLA
-
- MOZ_NATIVE_LIBEVENT = @MOZ_NATIVE_LIBEVENT@
- MOZ_LIBEVENT_LIBS = @MOZ_LIBEVENT_LIBS@
--MOZ_LIBEVENT_INCLUDES = @MOZ_LIBEVENT_INCLUDES@
-+MOZ_LIBEVENT_CFLAGS = @MOZ_LIBEVENT_CFLAGS@
-
- MOZ_NATIVE_LIBVPX = @MOZ_NATIVE_LIBVPX@
- MOZ_LIBVPX_LIBS = @MOZ_LIBVPX_LIBS@
--- mozilla/configure.in~
+++ mozilla/configure.in
@@ -3854,7 +3854,7 @@ fi
diff --git a/www/seamonkey/files/patch-bug788108 b/www/seamonkey/files/patch-bug788108
index db2399499397..3e5eb72dad08 100644
--- a/www/seamonkey/files/patch-bug788108
+++ b/www/seamonkey/files/patch-bug788108
@@ -7,7 +7,7 @@
-//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
-#ifdef __FreeBSD__
-#include <ieeefp.h>
--#ifdef __alpha__
+-#if !defined(__i386__) && !defined(__x86_64__)
-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
-#else
-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
diff --git a/www/seamonkey/files/patch-bug788955 b/www/seamonkey/files/patch-bug788955
index 3f6263c901b6..3974181f4aad 100644
--- a/www/seamonkey/files/patch-bug788955
+++ b/www/seamonkey/files/patch-bug788955
@@ -26,16 +26,6 @@ index 6a9be4b..d2e49e3 100755
add_makefiles "
memory/jemalloc/Makefile
"
---- mozilla/config/autoconf.mk.in
-+++ mozilla/config/autoconf.mk.in
-@@ -74,6 +74,7 @@ MOZ_JSDEBUGGER = @MOZ_JSDEBUGGER@
- MOZ_IPDL_TESTS = @MOZ_IPDL_TESTS@
- MOZ_MEMORY = @MOZ_MEMORY@
- MOZ_JEMALLOC = @MOZ_JEMALLOC@
-+MOZ_NATIVE_JEMALLOC = @MOZ_NATIVE_JEMALLOC@
- MOZ_PROFILING = @MOZ_PROFILING@
- MOZ_ENABLE_PROFILER_SPS = @MOZ_ENABLE_PROFILER_SPS@
- MOZ_JPROF = @MOZ_JPROF@
diff --git configure.in configure.in
index bb05782..2f32516 100644
--- mozilla/configure.in
diff --git a/www/seamonkey/files/patch-bug806139 b/www/seamonkey/files/patch-bug806139
new file mode 100644
index 000000000000..d3676869659b
--- /dev/null
+++ b/www/seamonkey/files/patch-bug806139
@@ -0,0 +1,29 @@
+--- mozilla/content/html/content/public/nsHTMLMediaElement.h~
++++ mozilla/content/html/content/public/nsHTMLMediaElement.h
+@@ -311,7 +311,7 @@ public:
+ static bool IsH264Enabled();
+ static bool IsH264Type(const nsACString& aType);
+ static const char gH264Types[3][16];
+- static char const *const gH264Codecs[7];
++ static char const *const gH264Codecs[9];
+ #endif
+
+ #ifdef MOZ_MEDIA_PLUGINS
+--- mozilla/content/html/content/src/nsHTMLMediaElement.cpp~
++++ mozilla/content/html/content/src/nsHTMLMediaElement.cpp
+@@ -2114,12 +2114,14 @@ const char nsHTMLMediaElement::gH264Type
+ "video/quicktime",
+ };
+
+-char const *const nsHTMLMediaElement::gH264Codecs[7] = {
++char const *const nsHTMLMediaElement::gH264Codecs[9] = {
+ "avc1.42E01E",
+ "avc1.42001E",
+ "avc1.58A01E",
+ "avc1.4D401E",
+ "avc1.64001E",
++ "avc1.64001F",
++ "mp4v.20.3",
+ "mp4a.40.2",
+ nullptr
+ };
diff --git a/www/seamonkey/files/patch-config-autoconf.mk.in b/www/seamonkey/files/patch-config-autoconf.mk.in
deleted file mode 100644
index 877c48294fc6..000000000000
--- a/www/seamonkey/files/patch-config-autoconf.mk.in
+++ /dev/null
@@ -1,21 +0,0 @@
---- config/autoconf.mk.in.orig 2009-04-24 03:46:37.000000000 +0200
-+++ config/autoconf.mk.in 2009-05-11 15:03:26.000000000 +0200
-@@ -57,14 +57,14 @@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- bindir = @bindir@
--includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-+includedir = @includedir@/%%MOZILLA%%
- libdir = @libdir@
- datadir = @datadir@
- mandir = @mandir@
--idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-+idldir = $(datadir)/idl/%%MOZILLA%%
-
--installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
--sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
-+installdir = $(libdir)/%%MOZILLA%%
-+sdkdir = $(libdir)/%%MOZILLA%%
-
- DIST = $(DEPTH)/dist
- LIBXUL_SDK = @LIBXUL_SDK@
diff --git a/www/seamonkey/files/patch-config-baseconfig.mk b/www/seamonkey/files/patch-config-baseconfig.mk
index f789129c3ba4..20a51fe6ac1b 100644
--- a/www/seamonkey/files/patch-config-baseconfig.mk
+++ b/www/seamonkey/files/patch-config-baseconfig.mk
@@ -1,5 +1,5 @@
---- mozilla/config/baseconfig.mk~
-+++ mozilla/config/baseconfig.mk
+--- config/baseconfig.mk~
++++ config/baseconfig.mk
@@ -1,9 +1,9 @@
INCLUDED_AUTOCONF_MK = 1
@@ -11,6 +11,6 @@
+idldir = $(datadir)/idl/%%MOZILLA%%
+installdir = $(libdir)/%%MOZILLA%%
+sdkdir = $(libdir)/%%MOZILLA%%
- DIST = $(DEPTH)/dist
-
- # We do magic with OBJ_SUFFIX in config.mk, the following ensures we don't
+ MOZILLA_SRCDIR = $(topsrcdir)/mozilla
+ MOZDEPTH = $(DEPTH)/mozilla
+ DIST = $(MOZDEPTH)/dist
diff --git a/www/seamonkey/files/patch-mailnews-addrbook-src-nsDirPrefs.cpp b/www/seamonkey/files/patch-mailnews-addrbook-src-nsDirPrefs.cpp
deleted file mode 100644
index 9bae143f2e26..000000000000
--- a/www/seamonkey/files/patch-mailnews-addrbook-src-nsDirPrefs.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- mailnews/addrbook/src/nsDirPrefs.cpp~
-+++ mailnews/addrbook/src/nsDirPrefs.cpp
-@@ -375,7 +375,7 @@ static bool DIR_SetServerPosition(nsVoid
- DIR_Server *s=nsnull;
-
- switch (position) {
-- case DIR_POS_APPEND:
-+ case (PRInt32)DIR_POS_APPEND:
- /* Do nothing if the request is to append a server that is already
- * in the list.
- */
-@@ -401,7 +401,7 @@ static bool DIR_SetServerPosition(nsVoid
- wholeList->AppendElement(server);
- break;
-
-- case DIR_POS_DELETE:
-+ case (PRInt32)DIR_POS_DELETE:
- /* Remove the prefs corresponding to the given server. If the prefName
- * value is nsnull, the server has never been saved and there are no
- * prefs to remove.
diff --git a/www/seamonkey/files/patch-mailnews-compose-src-nsSmtpProtocol.cpp b/www/seamonkey/files/patch-mailnews-compose-src-nsSmtpProtocol.cpp
deleted file mode 100644
index b3a6df4d2c90..000000000000
--- a/www/seamonkey/files/patch-mailnews-compose-src-nsSmtpProtocol.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- mailnews/compose/src/nsSmtpProtocol.cpp~
-+++ mailnews/compose/src/nsSmtpProtocol.cpp
-@@ -127,16 +127,16 @@ nsresult nsExplainErrorDetails(nsISmtpUr
-
- switch (code)
- {
-- case NS_ERROR_SMTP_SERVER_ERROR:
-- case NS_ERROR_TCP_READ_ERROR:
-- case NS_ERROR_SMTP_TEMP_SIZE_EXCEEDED:
-- case NS_ERROR_SMTP_PERM_SIZE_EXCEEDED_1:
-- case NS_ERROR_SMTP_PERM_SIZE_EXCEEDED_2:
-- case NS_ERROR_SENDING_FROM_COMMAND:
-- case NS_ERROR_SENDING_RCPT_COMMAND:
-- case NS_ERROR_SENDING_DATA_COMMAND:
-- case NS_ERROR_SENDING_MESSAGE:
-- case NS_ERROR_SMTP_GREETING:
-+ case (int)NS_ERROR_SMTP_SERVER_ERROR:
-+ case (int)NS_ERROR_TCP_READ_ERROR:
-+ case (int)NS_ERROR_SMTP_TEMP_SIZE_EXCEEDED:
-+ case (int)NS_ERROR_SMTP_PERM_SIZE_EXCEEDED_1:
-+ case (int)NS_ERROR_SMTP_PERM_SIZE_EXCEEDED_2:
-+ case (int)NS_ERROR_SENDING_FROM_COMMAND:
-+ case (int)NS_ERROR_SENDING_RCPT_COMMAND:
-+ case (int)NS_ERROR_SENDING_DATA_COMMAND:
-+ case (int)NS_ERROR_SENDING_MESSAGE:
-+ case (int)NS_ERROR_SMTP_GREETING:
- bundle->GetStringFromID(NS_ERROR_GET_CODE(code), getter_Copies(eMsg));
- msg = nsTextFormatter::vsmprintf(eMsg.get(), args);
- break;
diff --git a/www/seamonkey/files/patch-mozilla-content-svg-content-src-nsSVGElement.cpp b/www/seamonkey/files/patch-mozilla-content-svg-content-src-nsSVGElement.cpp
deleted file mode 100644
index 8e7abde1aa74..000000000000
--- a/www/seamonkey/files/patch-mozilla-content-svg-content-src-nsSVGElement.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- mozilla/content/svg/content/src/nsSVGElement.cpp.orig 2010-05-12 16:46:09.000000000 +0200
-+++ mozilla/content/svg/content/src/nsSVGElement.cpp 2010-05-12 16:49:33.000000000 +0200
-@@ -102,7 +102,11 @@
- // vararg-list methods in this file:
- // nsSVGElement::GetAnimated{Length,Number,Integer}Values
- // See bug 547964 for details:
--PR_STATIC_ASSERT(sizeof(void*) == sizeof(nsnull));
-+// I really try to get the details but I'm not allowed to
-+// access this bug in bugzilla:
-+// You are not authorized to access bug #547964.
-+// So disable this ASSERT as it breaks build.
-+//PR_STATIC_ASSERT(sizeof(void*) == sizeof(nsnull));
-
-
- nsSVGEnumMapping nsSVGElement::sSVGUnitTypesMap[] = {
diff --git a/www/seamonkey/files/patch-mozilla-js-src-configure.in b/www/seamonkey/files/patch-mozilla-js-src-configure.in
index 3a2a1d3b6d0d..6d7fa6c39ca6 100644
--- a/www/seamonkey/files/patch-mozilla-js-src-configure.in
+++ b/www/seamonkey/files/patch-mozilla-js-src-configure.in
@@ -1,6 +1,6 @@
---- mozilla/js/src/configure.in.orig 2012-02-22 17:06:28.000000000 +0100
-+++ mozilla/js/src/configure.in 2012-03-07 21:03:11.000000000 +0100
-@@ -5946,6 +5946,7 @@ _EGREP_PATTERN="${_EGREP_PATTERN}dummy_n
+--- mozilla/js/src/js-confdefs.h.in~
++++ mozilla/js/src/js-confdefs.h.in
+@@ -12,6 +12,7 @@
* C++ implementations should define these macros only when __STDC_LIMIT_MACROS
* is defined before <stdint.h> is included. */
#define __STDC_LIMIT_MACROS