Update to 2.17

* I will check the build on NetBSD 5.2 later...

Changelog:
    Continued performance improvements around common browser tasks (page loads, downloads, shutdown, etc.).
    Continued implementation of draft ECMAScript 6 (clear() and Math.imul).
    <canvas> now supports blend modes.
    Various <audio> and <video> improvements have been implemented.
    The Details button on the Crash Reporter has been fixed (bug 793972).
    Fixed several stability issues.

Fixed in SeaMonkey 2.17
MFSA 2013-40 Out-of-bounds array read in CERT_DecodeCertPackage
MFSA 2013-39 Memory corruption while rendering grayscale PNG images
MFSA 2013-38 Cross-site scripting (XSS) using timed history navigations
MFSA 2013-37 Bypass of tab-modal dialog origin disclosure
MFSA 2013-36 Bypass of SOW protections allows cloning of protected nodes
MFSA 2013-35 WebGL crash with Mesa graphics driver on Linux
MFSA 2013-34 Privilege escalation through Mozilla Updater
MFSA 2013-31 Out-of-bounds write in Cairo library
MFSA 2013-30 Miscellaneous memory safety hazards (rv:20.0 / rv:17.0.5)
Fixed in SeaMonkey 2.16.1
MFSA 2013-29 Use-after-free in HTML Editor
This commit is contained in:
ryoon 2013-04-07 20:23:48 +00:00
parent bd48140716
commit 8666ccfbb6
16 changed files with 337 additions and 300 deletions

View file

@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.92 2013/03/22 21:02:45 ryoon Exp $
# $NetBSD: Makefile,v 1.93 2013/04/07 20:23:48 ryoon Exp $
#
DISTNAME= # empty
PKGNAME= seamonkey-${SM_VER}
PKGREVISION= 1
SM_VER= 2.16
SM_VER= 2.17
#LIGHTNINGVER= 1.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/} \

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.enigmail,v 1.5 2013/02/23 23:54:02 ryoon Exp $
@comment $NetBSD: PLIST.enigmail,v 1.6 2013/04/07 20:23:49 ryoon Exp $
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome/enigmail.jar
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigMsgCompFields.js
@ -6,28 +6,17 @@ lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmail.xpt
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigmime.xpt
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/enigprefs-service.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/ipc.xpt
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/mimeDecrypt.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/mimeEncrypt.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults/pref/enigmail.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults/preferences/enigmail.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/commonFuncs.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/enigmailCommon.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/keyManagement.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/mimeDecrypt.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/mimeDecrypt.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/mimeVerify.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/pipeConsole.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/pipeTransport.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess.jsm
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess_worker_unix.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/subprocess_worker_win.js
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/${OPSYS}_${TARGET_XPCOM_ABI}/components/libenigmime-${TARGET_XPCOM_ABI}.so
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/${OPSYS}_${TARGET_XPCOM_ABI}/components/libipc-${TARGET_XPCOM_ABI}.so
lib/seamonkey/modules/subprocess.jsm
lib/seamonkey/modules/subprocess_worker_unix.js
lib/seamonkey/modules/subprocess_worker_win.js
share/idl/seamonkey/nsIEnigMimeHeaderSink.idl
share/idl/seamonkey/nsIEnigMimeReadCallback.idl
share/idl/seamonkey/nsIEnigMimeService.idl
share/idl/seamonkey/nsIEnigMsgCompFields.idl
share/idl/seamonkey/nsIEnigScriptableMsgCompose.idl
share/idl/seamonkey/nsIEnigmail.idl
lib/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/${OPSYS}_${TARGET_XPCOM_ABI}/lib/libsubprocess-${TARGET_XPCOM_ABI}.so

View file

@ -1,33 +1,33 @@
$NetBSD: distinfo,v 1.95 2013/03/22 21:02:46 ryoon Exp $
$NetBSD: distinfo,v 1.96 2013/04/07 20:23:49 ryoon Exp $
SHA1 (enigmail-1.5.1.tar.gz) = fec4c169731a9f0f47d1e443ea6f427196f759a7
RMD160 (enigmail-1.5.1.tar.gz) = b7e3adc5f09d7671ac8c419a3cdd73f567351c79
Size (enigmail-1.5.1.tar.gz) = 1213954 bytes
SHA1 (seamonkey-2.16.source.tar.bz2) = d9ac2d6a808ad4ded592fd595a3f67d32a04eb38
RMD160 (seamonkey-2.16.source.tar.bz2) = ba56e4df84473ca8ecc229454b005bff5891dd6c
Size (seamonkey-2.16.source.tar.bz2) = 121957357 bytes
SHA1 (patch-aa) = 01abb03b890db1b4c69cdc0851fc4004fe25306c
SHA1 (seamonkey-2.17.source.tar.bz2) = de4db5b9d019d59ca59807f5b7a60e235fd61e79
RMD160 (seamonkey-2.17.source.tar.bz2) = 10046fa822b880dd08d3f44e53fc61cd6e02e134
Size (seamonkey-2.17.source.tar.bz2) = 122785037 bytes
SHA1 (patch-aa) = 97cbc3e11d3006c2db7f59fb3799a3a6640a8a4a
SHA1 (patch-aa-toplevel) = fe60b8b841eae442269993facb2680d13cefd457
SHA1 (patch-ab) = 9cca7b0b97c4c38b30a125a6daf116b4064d451e
SHA1 (patch-ac) = 7f8ebe176cc3674a659c0c9b84bc4c84bb15f7b1
SHA1 (patch-ae) = bc047f107ecc4f57d6f0073c6d86061280ba54f3
SHA1 (patch-ag) = 6df9db65468528bf58ed175260469c0d60361187
SHA1 (patch-ai) = 6ba66c4ba4134f4b59f4eb09e321e205b4f2f222
SHA1 (patch-ai) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
SHA1 (patch-ak) = a36dd36a037a76a40955316200b1f4603b9ed8e9
SHA1 (patch-al) = 06ddb5f0f55ca02bee0d55ddb5316ddd9099f2d9
SHA1 (patch-am) = 3c1343b4e71dd2ffa66ed0d4b59f9e7a1c5be2e0
SHA1 (patch-an) = a76456ccf059756b6582c0586cbf76c1cdabf1c3
SHA1 (patch-ao) = 77d53f485da4fce8495198550bb7e8976326927a
SHA1 (patch-ao) = 330d7ed17b5cee49c408c9bc48edc3cedeb04061
SHA1 (patch-as) = 58869b1896d0927e2801f3c3d3d69e686b84de78
SHA1 (patch-at) = 97980a58f0b2f3b2f81e9ce6373ce947941ae942
SHA1 (patch-au) = fbe3e8a0bbf0048ae8a394807ba87ae6ec7d4e6e
SHA1 (patch-av) = 7bd426be930e2a9670cffdc37fd4e5290a8091f2
SHA1 (patch-aw) = 4e3927a66c7f78ffba3b2079ef2263b91395330e
SHA1 (patch-ay) = 303f226d44ef7ddf87b634e66b0bd6d18dfdf52b
SHA1 (patch-ay) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
SHA1 (patch-az) = 74191395f7cae0914111e86af390b8d115c3b93d
SHA1 (patch-ba) = 453e13f23c8935a6d6edb4a12f6f128558227257
SHA1 (patch-bd) = d148a08d6aa03c559d9250cf9a30ca66f1a76859
SHA1 (patch-bf) = dcb301d4688d944790d31ba31800440dc755f6df
SHA1 (patch-bf) = a199d37e83823dee168c1a32f5aeac834b96714f
SHA1 (patch-bg) = 1b4da74724d24693d863392e1963fa674d34b72e
SHA1 (patch-bi) = 904ec1a966d6224f873836d8cbee2eb80eb2d2a9
SHA1 (patch-config_baseconfig.mk) = 3fdb27d227ef0d858b56023b9c709117d5cc5e00
@ -38,10 +38,8 @@ SHA1 (patch-mail_app_nsMailApp.cpp) = 6641427f5a9a2c2e4065abb331d983798e41d91c
SHA1 (patch-mb) = 07e816f321fd6491fb9d5dc74ac2de53d5bc8405
SHA1 (patch-md) = 48e172fdf3ec12765e674a4a2ba8ac1b53f2f15b
SHA1 (patch-me) = 4c5f293574e9bdbe3ad8fa2abd7649622750f24f
SHA1 (patch-mm) = 3c0f229c2a029d9d68e2330a68a9170da0b17157
SHA1 (patch-mozilla_build_autoconf_nss.m4) = 3b05127e72a76ac2f87c8362cbde13ce76485a19
SHA1 (patch-mozilla_config_baseconfig.mk) = 22135e1dd081529afc217009b2f2e860d8c51cd9
SHA1 (patch-mozilla_dom_system_OSFileConstants.cpp) = fae216f075aa0643ee310ce5f40b808fd7cedc0e
SHA1 (patch-mozilla_gfx_skia_Makefile.in) = 9adc38011a2186d8671360f6635a6c83dc758c9a
SHA1 (patch-mozilla_gfx_skia_src_sfnt_SkOTTable__head.h) = 75a54359e2ebc4a019e4b5ed027df654b612ea34
SHA1 (patch-mozilla_gfx_skia_src_sfnt_SkOTTable__name.h) = f8ef35f6d4ede4d02baee2c2905089b307724b95
@ -51,11 +49,10 @@ SHA1 (patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp) = abdf8ee597ec867b63c827
SHA1 (patch-mozilla_ipc_ipdl_ipdl_lower.py) = 2bf473a505692adc68c9cdc75a23d53d61c0fc8b
SHA1 (patch-mozilla_js_src_jsgc.cpp) = 79710d555551f62ac3510eede3cbc9aa314c1809
SHA1 (patch-mozilla_js_src_methodjit_MethodJIT.cpp) = ba789e9206f830d4925eb377627eb113be52351c
SHA1 (patch-mozilla_media_libcubeb_src_Makefile.in) = 2643dc7265d38a51cfcd98fd121bd65369957f18
SHA1 (patch-mozilla_xpcom_Makefile.in) = fcd068eb5c2c96e9bf9ba275689e99ce5f6e5034
SHA1 (patch-mozilla_xpcom_ds_TimeStamp.h) = 3f751a097ec60ad743a3fa2d6ba9c3b36d633176
SHA1 (patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__ppc__netbsd.cpp) = e6bdc6adc373dab89bd1ab9546db8fffd41cb38c
SHA1 (patch-mp) = 2356c291ef3f29402bab30d301b54c24a179084e
SHA1 (patch-mp) = ac7e10d3db7c388defc65ea3c094c1711266c881
SHA1 (patch-pa) = ef0de20c7c189e6f44b03df0e6d46eda23eee35b
SHA1 (patch-pb) = 71d34b0854260f01b887bd2dfa3e7be762bd7c70
SHA1 (patch-pc) = b0537273e1ffe3bb5cd7c9e1fd8f375201d9c087

View file

@ -1,4 +1,4 @@
# $NetBSD: enigmail.mk,v 1.8 2013/02/23 23:54:02 ryoon Exp $
# $NetBSD: enigmail.mk,v 1.9 2013/04/07 20:23:49 ryoon Exp $
#
# This Makefile fragment hooks the Enigmail OpenPGP extension
# (see http://www.mozilla-enigmail.org/ ) into the build.
@ -25,7 +25,7 @@ enigmail-post-extract:
${RUN} mv ${WRKDIR}/enigmail ${WRKSRC}/mailnews/extensions/
${RUN} cd ${WRKSRC} && \
${PATCH} < ${FILESDIR}/mailnews_extensions_enigmail_ipc_modules_subprocess.jsm && \
${PATCH} < ${FILESDIR}/patch-files_mailnews_extensions_enigmail_ipc_src_Makefile.in
${PATCH} < ${FILESDIR}/patch-files_mailnews_extensions_enigmail_ipc_src_Makefile.enig
post-configure: enigmail-post-configure
.PHONY: enigmail-post-configure

View file

@ -0,0 +1,15 @@
$NetBSD: patch-files_mailnews_extensions_enigmail_ipc_src_Makefile.enig,v 1.1 2013/04/07 20:23:49 ryoon Exp $
--- mailnews/extensions/enigmail/ipc/src/Makefile.enig.orig 2013-01-20 17:08:40.000000000 +0000
+++ mailnews/extensions/enigmail/ipc/src/Makefile.enig
@@ -18,8 +18,8 @@ LDFLAGS += -dynamiclib -install_name @ex
endif
ifeq ($(OS_ARCH),NetBSD)
-ifeq ($(DLL_SUFFIX),.so.1.0)
-LDFLAGS += -Wl,-Bsymbolic
+ifeq ($(DLL_SUFFIX),.so)
+LDFLAGS += -shared -Wl,-Bsymbolic
CFLAGS += -fPIC
endif
endif

View file

@ -1,13 +0,0 @@
$NetBSD: patch-files_mailnews_extensions_enigmail_ipc_src_Makefile.in,v 1.1 2013/02/23 23:54:02 ryoon Exp $
--- mailnews/extensions/enigmail/ipc/src/Makefile.in.orig 2013-01-20 17:08:40.000000000 +0000
+++ mailnews/extensions/enigmail/ipc/src/Makefile.in
@@ -19,7 +19,7 @@ endif
ifeq ($(OS_ARCH),NetBSD)
ifeq ($(DLL_SUFFIX),.so.1.0)
-LDFLAGS += -Wl,-Bsymbolic
+LDFLAGS += -shared -Wl,-Bsymbolic
CFLAGS += -fPIC
endif
endif

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.13 2013/01/20 08:33:13 ryoon Exp $
$NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/configure.in.orig 2013-01-06 06:26:09.000000000 +0000
--- mozilla/configure.in.orig 2013-04-01 03:30:49.000000000 +0000
+++ mozilla/configure.in
@@ -2137,6 +2137,9 @@ ia64*-hpux*)
@@ -2130,6 +2130,9 @@ ia64*-hpux*)
if test -z "$MC"; then
MC=mc.exe
fi
@ -12,7 +12,7 @@ $NetBSD: patch-aa,v 1.13 2013/01/20 08:33:13 ryoon Exp $
;;
*-mingw*)
DSO_CFLAGS=
@@ -3075,6 +3078,9 @@ dnl ====================================
@@ -3071,6 +3074,9 @@ dnl ====================================
case $target in
*-hpux11.*)
;;
@ -22,7 +22,7 @@ $NetBSD: patch-aa,v 1.13 2013/01/20 08:33:13 ryoon Exp $
*)
AC_CHECK_LIB(c_r, gethostbyname_r)
;;
@@ -3376,6 +3382,9 @@ AC_CACHE_CHECK(
@@ -3372,6 +3378,9 @@ AC_CACHE_CHECK(
#ifdef linux
#define _BSD_SOURCE 1
#endif
@ -47,7 +47,7 @@ $NetBSD: patch-aa,v 1.13 2013/01/20 08:33:13 ryoon Exp $
if test -z "$SKIP_LIBRARY_CHECKS"; then
dnl system JPEG support
dnl ========================================================
@@ -5283,8 +5300,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL)
@@ -5326,8 +5343,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL)
AC_SUBST(MOZ_SCTP)
AC_SUBST(MOZ_SRTP)
@ -58,11 +58,3 @@ $NetBSD: patch-aa,v 1.13 2013/01/20 08:33:13 ryoon Exp $
MOZ_SAMPLE_TYPE_S16=1
AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
AC_SUBST(MOZ_SAMPLE_TYPE_S16)
@@ -8690,6 +8707,7 @@ AC_SUBST(MOZ_VP8_ERROR_CONCEALMENT)
AC_SUBST(MOZ_VP8_ENCODER)
AC_SUBST(MOZ_VP8)
AC_SUBST(MOZ_OGG)
+AC_SUBST(MOZ_ALSA)
AC_SUBST(MOZ_ALSA_LIBS)
AC_SUBST(MOZ_ALSA_CFLAGS)
AC_SUBST(VPX_AS)

View file

@ -1,13 +1,2 @@
$NetBSD: patch-ai,v 1.10 2013/01/07 21:55:30 ryoon Exp $
$NetBSD: patch-ai,v 1.11 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/dbm/src/mktemp.c.orig 2012-11-18 10:19:33.000000000 +0000
+++ mozilla/dbm/src/mktemp.c
@@ -92,7 +92,7 @@ mktemp(char *path)
static int
_gettemp(char *path, register int *doopen, int extraFlags)
{
-#if !defined(_WINDOWS) || defined(_WIN32)
+#if (!defined(_WINDOWS) || defined(_WIN32)) && !defined(errno)
extern int errno;
#endif
register char *start, *trv;

View file

@ -1,9 +1,9 @@
$NetBSD: patch-ao,v 1.11 2013/01/20 08:33:13 ryoon Exp $
$NetBSD: patch-ao,v 1.12 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/toolkit/mozapps/installer/packager.mk.orig 2013-01-06 06:26:32.000000000 +0000
--- mozilla/toolkit/mozapps/installer/packager.mk.orig 2013-04-01 03:31:14.000000000 +0000
+++ mozilla/toolkit/mozapps/installer/packager.mk
@@ -893,8 +893,8 @@ endif
(cd $(DIST)/$(MOZ_PKG_DIR) && tar --exclude=precomplete $(TAR_CREATE_FLAGS) - .) | \
@@ -911,8 +911,8 @@ endif
(cd $(DIST)/$(MOZ_PKG_DIR) && $(TAR) --exclude=precomplete $(TAR_CREATE_FLAGS) - .) | \
(cd $(DESTDIR)$(installdir) && tar -xf -)
$(NSINSTALL) -D $(DESTDIR)$(bindir)
- $(RM) -f $(DESTDIR)$(bindir)/$(MOZ_APP_NAME)
@ -12,4 +12,4 @@ $NetBSD: patch-ao,v 1.11 2013/01/20 08:33:13 ryoon Exp $
+ ln -s $(installdir)/$(MOZ_APP_NAME) $(DESTDIR)$(bindir)/$(MOZILLA_PKG_NAME)
ifdef INSTALL_SDK # Here comes the hard part
$(NSINSTALL) -D $(DESTDIR)$(includedir)
(cd $(DIST)/include && tar $(TAR_CREATE_FLAGS) - .) | \
(cd $(DIST)/include && $(TAR) $(TAR_CREATE_FLAGS) - .) | \

View file

@ -1,46 +1,2 @@
$NetBSD: patch-ay,v 1.9 2013/01/07 21:55:30 ryoon Exp $
$NetBSD: patch-ay,v 1.10 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/browser/app/nsBrowserApp.cpp.orig 2012-11-18 10:19:30.000000000 +0000
+++ mozilla/browser/app/nsBrowserApp.cpp
@@ -14,6 +14,31 @@
#include <sys/resource.h>
#endif
+#include <sys/resource.h>
+
+#ifdef __NetBSD__
+/*
+ * On netbsd-4, ulimit -n is 64 by default; too few for us.
+ */
+static void netbsd_fixrlimit(void) {
+ struct rlimit rlp;
+ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) {
+ fprintf(stderr, "warning: getrlimit failed\n");
+ return;
+ }
+ if (rlp.rlim_cur >= 512)
+ return;
+ if (rlp.rlim_max < 512) {
+ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n");
+ rlp.rlim_cur = rlp.rlim_max;
+ }
+ else
+ rlp.rlim_cur = 512;
+ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1)
+ fprintf(stderr, "warning: setrlimit failed\n");
+}
+#endif
+
#ifdef XP_MACOSX
#include "MacQuirks.h"
#endif
@@ -204,6 +229,9 @@ int main(int argc, char* argv[])
#ifdef XP_MACOSX
TriggerQuirks();
#endif
+#ifdef __NetBSD__
+ netbsd_fixrlimit();
+#endif
nsresult rv = mozilla::BinaryPath::Get(argv[0], exePath);
if (NS_FAILED(rv)) {

View file

@ -1,8 +1,8 @@
$NetBSD: patch-bf,v 1.11 2013/02/08 18:13:04 ryoon Exp $
$NetBSD: patch-bf,v 1.12 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/js/src/jsnativestack.cpp.orig 2013-01-16 16:01:13.000000000 +0000
--- mozilla/js/src/jsnativestack.cpp.orig 2013-04-01 03:30:59.000000000 +0000
+++ mozilla/js/src/jsnativestack.cpp
@@ -19,13 +19,10 @@
@@ -19,7 +19,7 @@
#elif defined(XP_MACOSX) || defined(DARWIN) || defined(XP_UNIX)
# include <pthread.h>
@ -11,18 +11,12 @@ $NetBSD: patch-bf,v 1.11 2013/02/08 18:13:04 ryoon Exp $
# include <pthread_np.h>
# endif
-#else
-# error "Unsupported platform"
-
#endif
namespace js {
@@ -114,7 +111,7 @@ GetNativeStackBaseImpl()
@@ -112,7 +112,7 @@ js::GetNativeStackBaseImpl()
pthread_attr_init(&sattr);
# if defined(__OpenBSD__)
stack_t ss;
-# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD)
+# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(__DragonFly__)
+# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(__DragonFly__) || defined(NETBSD) || defined(__NetBSD__) /* XXX tnn not sure why NETBSD isn't defined, it looks like it should be ... */
/* e.g. on FreeBSD 4.8 or newer, neundorf@kde.org */
pthread_attr_get_np(thread, &sattr);
# else

View file

@ -1,21 +0,0 @@
$NetBSD: patch-mm,v 1.13 2013/01/20 08:33:13 ryoon Exp $
--- mozilla/toolkit/library/Makefile.in.orig 2013-01-06 06:26:32.000000000 +0000
+++ mozilla/toolkit/library/Makefile.in
@@ -409,14 +409,11 @@ endif
endif
-ifdef MOZ_SYDNEYAUDIO
-ifeq ($(OS_ARCH),Linux)
+ifneq (,$(MOZ_CUBEB)$(MOZ_SYDNEYAUDIO))
+ifdef MOZ_ALSA
EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS)
endif
-endif
-
ifdef MOZ_PULSEAUDIO
-ifdef MOZ_CUBEB
EXTRA_DSO_LDOPTS += $(MOZ_PULSEAUDIO_LIBS)
endif
endif

View file

@ -1,16 +0,0 @@
$NetBSD: patch-mozilla_dom_system_OSFileConstants.cpp,v 1.1 2013/01/20 08:33:13 ryoon Exp $
--- mozilla/dom/system/OSFileConstants.cpp.orig 2013-01-06 06:26:13.000000000 +0000
+++ mozilla/dom/system/OSFileConstants.cpp
@@ -41,6 +41,11 @@
#include "OSFileConstants.h"
#include "nsIOSFileConstantsService.h"
+#if defined(__DragonFly__) || defined(__FreeBSD__) \
+ || defined(__NetBSD__) || defined(__OpenBSD__)
+#define __dd_fd dd_fd
+#endif
+
/**
* This module defines the basic libc constants (error numbers, open modes,
* etc.) used by OS.File and possibly other OS-bound JavaScript libraries.

View file

@ -1,28 +0,0 @@
$NetBSD: patch-mozilla_media_libcubeb_src_Makefile.in,v 1.3 2013/01/20 08:33:14 ryoon Exp $
--- mozilla/media/libcubeb/src/Makefile.in.orig 2013-01-06 06:26:24.000000000 +0000
+++ mozilla/media/libcubeb/src/Makefile.in
@@ -29,10 +29,6 @@ CSRCS = \
$(NULL)
endif
# No Android implementation of libcubeb yet.
-else ifeq ($(OS_TARGET),Linux)
-CSRCS = \
- cubeb_alsa.c \
- $(NULL)
endif
ifeq ($(OS_TARGET),Darwin)
@@ -47,6 +43,12 @@ CSRCS = \
$(NULL)
endif
+ifdef MOZ_ALSA
+CSRCS = \
+ cubeb_alsa.c \
+ $(NULL)
+endif
+
ifdef MOZ_PULSEAUDIO
CSRCS = \
cubeb_pulse.c \

View file

@ -1,28 +1,11 @@
$NetBSD: patch-mp,v 1.10 2013/01/20 08:33:14 ryoon Exp $
$NetBSD: patch-mp,v 1.11 2013/04/07 20:23:49 ryoon Exp $
--- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2013-01-06 06:26:25.000000000 +0000
--- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2013-04-01 03:31:06.000000000 +0000
+++ mozilla/media/libsydneyaudio/src/Makefile.in
@@ -30,10 +30,6 @@ else ifeq ($(MOZ_WIDGET_TOOLKIT),android
CSRCS = \
sydney_audio_android.c \
$(NULL)
-else ifeq ($(OS_ARCH),Linux)
-CSRCS = \
- sydney_audio_alsa.c \
- $(NULL)
endif
ifeq ($(OS_ARCH),WINNT)
@@ -68,6 +64,18 @@ CSRCS = \
@@ -70,6 +70,12 @@ CSRCS = \
$(NULL)
endif
+ifdef MOZ_ALSA
+CSRCS = \
+ sydney_audio_alsa.c \
+ $(NULL)
+endif
+
+ifdef MOZ_PULSEAUDIO
+CSRCS = \
+ sydney_audio_pulseaudio.c \