View | Details | Raw Unified | Return to bug 242002 | Differences between
and this patch

Collapse All | Expand All

(-)databases/mongodb42/Makefile (-17 / +35 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	mongodb
3
PORTNAME=	mongodb
4
DISTVERSIONPREFIX=	r
4
DISTVERSIONPREFIX=	r
5
DISTVERSION=	4.0.12
5
DISTVERSION=	4.2.6
6
CATEGORIES=	databases net
6
CATEGORIES=	databases net
7
MASTER_SITES=	https://fastdl.mongodb.org/src/ \
7
MASTER_SITES=	https://fastdl.mongodb.org/src/ \
8
		http://fastdl.mongodb.org/src/ \
8
		http://fastdl.mongodb.org/src/ \
Lines 10-28 Link Here
10
PKGNAMESUFFIX=	${PORTVERSION:R:S/.//}
10
PKGNAMESUFFIX=	${PORTVERSION:R:S/.//}
11
DISTNAME=	mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
11
DISTNAME=	mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
12
12
13
MAINTAINER=	dev.ashevchuk@gmail.com
13
MAINTAINER=	ronald-lists@klop.ws
14
COMMENT=	Distributed document-oriented "NoSQL" database
14
COMMENT=	Distributed document-oriented "NoSQL" database (4.2.x Branch)
15
15
16
# mongodb is AGPLv3, C++ driver is APACHE20
16
# mongodb is SSPL, C++ driver is APACHE20
17
LICENSE=	AGPLv3 APACHE20
17
LICENSE=	SSPL APACHE20
18
LICENSE_COMB=	multi
18
LICENSE_COMB=	multi
19
19
20
LICENSE_FILE_SSPL=	${WRKSRC}/LICENSE-Community.txt
21
LICENSE_NAME_SSPL=	Server Side Public License
22
LICENSE_PERMS_SSPL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
23
20
ONLY_FOR_ARCHS=	aarch64 amd64
24
ONLY_FOR_ARCHS=	aarch64 amd64
21
ONLY_FOR_ARCHS_REASON=	"Only supported on amd64 and aarch64 (i386 deprecated in v3)"
25
ONLY_FOR_ARCHS_REASON=	"Only supported on amd64 and aarch64 (i386 deprecated in v3)"
22
26
23
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \
27
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah3>0:devel/py-cheetah3@${PY_FLAVOR} \
24
		${PY_TYPING} \
28
		${PY_TYPING} \
25
		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
29
		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
30
		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
26
		${LOCALBASE}/bin/ar:devel/binutils
31
		${LOCALBASE}/bin/ar:devel/binutils
27
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
32
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
28
		libpcre.so:devel/pcre \
33
		libpcre.so:devel/pcre \
Lines 29-56 Link Here
29
		libcurl.so:ftp/curl \
34
		libcurl.so:ftp/curl \
30
		libsnappy.so:archivers/snappy
35
		libsnappy.so:archivers/snappy
31
36
32
USES=		compiler:c++14-lang cpe python:2.7,build scons shebangfix
37
USES=		compiler:c++17-lang cpe python:3.5+,build scons:py37 shebangfix
33
USE_RC_SUBR=	mongod
38
USE_RC_SUBR=	mongod
34
39
35
CONFLICTS_BUILD=	mongo-cxx-driver
40
CONFLICTS_BUILD=	mongo-cxx-driver
36
CONFLICTS_INSTALL=	mongodb3[46]
41
CONFLICTS_INSTALL=	mongodb3[46] mongodb40
37
42
43
OPTIONS_DEFINE=		SASL SSL
44
OPTIONS_DEFAULT=	SASL SSL
45
38
SHEBANG_FILES=	src/mongo/installer/compass/install_compass.in
46
SHEBANG_FILES=	src/mongo/installer/compass/install_compass.in
39
python_OLD_CMD=	@python_interpreter@
47
python_OLD_CMD=	@python_interpreter@
40
MAKE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
48
MAKE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
41
		--use-system-pcre --use-system-snappy \
49
		--use-system-zlib \
42
		--use-system-boost --use-system-zlib \
50
		--use-system-pcre \
43
		--cxx-std=14 --libc++ \
51
		--use-system-snappy \
52
		--use-system-boost \
53
		--libc++ \
54
		--cxx-std=17 \
44
		--runtime-hardening=on \
55
		--runtime-hardening=on \
56
		-j ${MAKE_JOBS_NUMBER} \
45
		--disable-warnings-as-errors \
57
		--disable-warnings-as-errors \
46
		VERBOSE=on AR=${PREFIX}/bin/ar
58
		VERBOSE=on \
59
		AR=${PREFIX}/bin/ar
47
60
61
.include <bsd.port.pre.mk>
62
63
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1201000
64
LLVM_VER=	70
65
BUILD_DEPENDS+=	llvm${LLVM_VER}>0:devel/llvm${LLVM_VER}
66
CC=		${LOCALBASE}/bin/clang${LLVM_VER}
67
CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
68
MAKE_ARGS+=	CC=${CC} CXX=${CXX}
69
.endif
70
48
USERS=		mongodb
71
USERS=		mongodb
49
GROUPS=		mongodb
72
GROUPS=		mongodb
50
73
51
OPTIONS_DEFINE=		SASL SSL
52
OPTIONS_DEFAULT=	SASL SSL
53
54
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
74
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
55
SASL_MAKE_ARGS=		--use-sasl-client
75
SASL_MAKE_ARGS=		--use-sasl-client
56
76
Lines 57-64 Link Here
57
SSL_USES=	ssl
77
SSL_USES=	ssl
58
SSL_MAKE_ARGS=	--ssl
78
SSL_MAKE_ARGS=	--ssl
59
79
60
.include <bsd.port.options.mk>
61
62
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
80
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
63
SUB_LIST+=	LEGACY_LIMITS="@comment " MODERN_LIMITS=""
81
SUB_LIST+=	LEGACY_LIMITS="@comment " MODERN_LIMITS=""
64
.else
82
.else
(-)databases/mongodb42/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1570817575
1
TIMESTAMP = 1589546192
2
SHA256 (mongodb-src-r4.0.12.tar.gz) = 2132def2478c7d45b028a9b79db346a19f9c56f456b52c0ff243982c89c20dc9
2
SHA256 (mongodb-src-r4.2.6.tar.gz) = 7825f3afb5e75025928cb659ccc717d784b75d149dcb26cac83348e2479929b7
3
SIZE (mongodb-src-r4.0.12.tar.gz) = 49937644
3
SIZE (mongodb-src-r4.2.6.tar.gz) = 61671088
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh (+24 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/gen-config.sh.orig	2019-10-11 03:28:57 UTC
2
+++ src/third_party/mozjs-60/gen-config.sh
3
@@ -28,6 +28,9 @@ _xcode_setup() {
4
 }
5
 
6
 case "$_Path" in
7
+    "platform/aarch64/freebsd")
8
+        _CONFIG_OPTS="--host=aarch64-freebsd"
9
+	;;
10
     "platform/aarch64/linux")
11
         _CONFIG_OPTS="--host=aarch64-linux"
12
 	;;
13
@@ -82,9 +85,9 @@ esac
14
 cd mozilla-release/js/src
15
 rm config.cache || true
16
 
17
-PYTHON=python ./configure --without-intl-api --enable-posix-nspr-emulation --disable-trace-logging --disable-js-shell --disable-tests "$_CONFIG_OPTS"
18
+PYTHON=python2.7 ./configure --without-intl-api --enable-posix-nspr-emulation --disable-trace-logging --disable-js-shell --disable-tests "$_CONFIG_OPTS"
19
 
20
-make recurse_export
21
+gmake recurse_export
22
 
23
 cd ../../..
24
 
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src0.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/AtomicsObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/AtomicsObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/AtomicsObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/DataViewObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/DataViewObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/DataViewObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Eval.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Eval.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Eval.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/JSON.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/JSON.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/JSON.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/MapObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/MapObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/MapObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/ModuleObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/ModuleObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/ModuleObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src1.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/Object.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/Object.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/Object.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/Profilers.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/Profilers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/Profilers.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Promise.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Promise.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Promise.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/Reflect.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/Reflect.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/Reflect.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/ReflectParse.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/ReflectParse.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/ReflectParse.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/SIMD.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/SIMD.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/SIMD.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src10.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src10.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src10.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "irregexp/RegExpParser.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "irregexp/RegExpParser.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "irregexp/RegExpParser.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "irregexp/RegExpStack.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "irregexp/RegExpStack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "irregexp/RegExpStack.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/AliasAnalysis.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/AliasAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/AliasAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/AliasAnalysisShared.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/AliasAnalysisShared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/AliasAnalysisShared.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/AlignmentMaskAnalysis.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/AlignmentMaskAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/AlignmentMaskAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BacktrackingAllocator.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BacktrackingAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BacktrackingAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src11.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src11.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src11.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Bailouts.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Bailouts.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Bailouts.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/BaselineBailouts.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/BaselineBailouts.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/BaselineBailouts.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/BaselineCacheIRCompiler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/BaselineCacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/BaselineCacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/BaselineCompiler.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/BaselineCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/BaselineCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/BaselineDebugModeOSR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/BaselineDebugModeOSR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/BaselineDebugModeOSR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BaselineFrame.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BaselineFrame.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BaselineFrame.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src12.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/BaselineFrameInfo.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/BaselineFrameInfo.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/BaselineFrameInfo.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/BaselineIC.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/BaselineIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/BaselineIC.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/BaselineInspector.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/BaselineInspector.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/BaselineInspector.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/BaselineJIT.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/BaselineJIT.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/BaselineJIT.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/BitSet.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/BitSet.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/BitSet.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BytecodeAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BytecodeAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BytecodeAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src13.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/C1Spewer.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/C1Spewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/C1Spewer.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/CacheIR.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/CacheIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/CacheIR.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/CacheIRCompiler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/CacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/CacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/CacheIRSpewer.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/CacheIRSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/CacheIRSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/CodeGenerator.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/CodeGenerator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/CodeGenerator.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/CompileWrappers.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/CompileWrappers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/CompileWrappers.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src14.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Disassembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Disassembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Disassembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/EagerSimdUnbox.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/EagerSimdUnbox.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/EagerSimdUnbox.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/EdgeCaseAnalysis.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/EdgeCaseAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/EdgeCaseAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/EffectiveAddressAnalysis.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/EffectiveAddressAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/EffectiveAddressAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ExecutableAllocator.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ExecutableAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ExecutableAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/FlowAliasAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/FlowAliasAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/FlowAliasAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src15.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/FoldLinearArithConstants.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/FoldLinearArithConstants.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/FoldLinearArithConstants.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/InstructionReordering.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/InstructionReordering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/InstructionReordering.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Ion.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Ion.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/Ion.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/IonAnalysis.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/IonAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/IonAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/IonBuilder.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/IonBuilder.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/IonBuilder.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/IonCacheIRCompiler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/IonCacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/IonCacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src16.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/IonControlFlow.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/IonControlFlow.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/IonControlFlow.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/IonIC.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/IonIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/IonIC.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/IonOptimizationLevels.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/IonOptimizationLevels.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/IonOptimizationLevels.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/JSJitFrameIter.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/JSJitFrameIter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/JSJitFrameIter.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/JSONSpewer.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/JSONSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/JSONSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/Jit.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/Jit.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/Jit.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src17.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/JitFrames.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/JitFrames.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/JitFrames.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/JitOptions.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/JitOptions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/JitOptions.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/JitSpewer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/JitSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/JitSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/JitcodeMap.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/JitcodeMap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/JitcodeMap.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/LICM.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/LICM.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/LICM.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/LIR.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/LIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/LIR.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src18.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Linker.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Linker.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Linker.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/LoopUnroller.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/LoopUnroller.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/LoopUnroller.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Lowering.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Lowering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/Lowering.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/MCallOptimize.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/MCallOptimize.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/MCallOptimize.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/MIR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/MIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/MIR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/MIRGraph.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/MIRGraph.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/MIRGraph.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src19.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/MacroAssembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/MacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/MacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/MoveResolver.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/MoveResolver.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/MoveResolver.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/OptimizationTracking.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/OptimizationTracking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/OptimizationTracking.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/PerfSpewer.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/PerfSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/PerfSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ProcessExecutableMemory.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ProcessExecutableMemory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ProcessExecutableMemory.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/RangeAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/RangeAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/RangeAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src2.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/Stream.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/Stream.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/Stream.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/String.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/String.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/String.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Symbol.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Symbol.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Symbol.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/TestingFunctions.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/TestingFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/TestingFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/TypedObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/TypedObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/TypedObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/WeakMapObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/WeakMapObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/WeakMapObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src20.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src20.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src20.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Recover.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Recover.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Recover.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/RegisterAllocator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/RegisterAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/RegisterAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/RematerializedFrame.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/RematerializedFrame.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/RematerializedFrame.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/Safepoints.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/Safepoints.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/Safepoints.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ScalarReplacement.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ScalarReplacement.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ScalarReplacement.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/SharedIC.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/SharedIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/SharedIC.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src21.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Sink.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Sink.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Sink.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/Snapshots.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/Snapshots.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/Snapshots.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/StupidAllocator.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/StupidAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/StupidAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/TypePolicy.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/TypePolicy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/TypePolicy.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/TypedObjectPrediction.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/TypedObjectPrediction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/TypedObjectPrediction.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/VMFunctions.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/VMFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/VMFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src22.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/ValueNumbering.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/ValueNumbering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/ValueNumbering.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/WasmBCE.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/WasmBCE.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/WasmBCE.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/Architecture-arm64.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/Architecture-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/Architecture-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/Assembler-arm64.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/Assembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/Assembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/Bailouts-arm64.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/Bailouts-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/Bailouts-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/BaselineIC-arm64.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/BaselineIC-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/BaselineIC-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src23.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/CodeGenerator-arm64.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/CodeGenerator-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/CodeGenerator-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/Disassembler-arm64.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/Disassembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/Disassembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/Lowering-arm64.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/Lowering-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/Lowering-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/MacroAssembler-arm64.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/MacroAssembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/MacroAssembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/MoveEmitter-arm64.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/MoveEmitter-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/MoveEmitter-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/SharedIC-arm64.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/SharedIC-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/SharedIC-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src24.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/Trampoline-arm64.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/Trampoline-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/Trampoline-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/vixl/Assembler-vixl.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/vixl/Assembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/vixl/Assembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/vixl/Cpu-vixl.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/vixl/Cpu-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/vixl/Cpu-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/vixl/Decoder-vixl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/vixl/Decoder-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/vixl/Decoder-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/vixl/Disasm-vixl.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/vixl/Disasm-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/vixl/Disasm-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/vixl/Instructions-vixl.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/vixl/Instructions-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/vixl/Instructions-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src25.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src25.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src25.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/vixl/Instrument-vixl.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/vixl/Instrument-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/vixl/Instrument-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/vixl/MacroAssembler-vixl.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/vixl/MacroAssembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/vixl/MacroAssembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/vixl/MozAssembler-vixl.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/vixl/MozAssembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/vixl/MozAssembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/vixl/MozInstructions-vixl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/vixl/MozInstructions-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/vixl/MozInstructions-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/vixl/Utils-vixl.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/vixl/Utils-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/vixl/Utils-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/shared/Assembler-shared.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/shared/Assembler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/shared/Assembler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src26.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/shared/BaselineCompiler-shared.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/shared/BaselineCompiler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/shared/BaselineCompiler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/shared/CodeGenerator-shared.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/shared/CodeGenerator-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/shared/CodeGenerator-shared.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/shared/Disassembler-shared.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/shared/Disassembler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/shared/Disassembler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/shared/Lowering-shared.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/shared/Lowering-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/shared/Lowering-shared.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jsapi.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jsapi.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jsapi.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jsbool.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jsbool.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jsbool.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src27.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jsdate.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jsdate.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jsdate.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jsexn.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jsexn.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jsexn.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsfriendapi.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsfriendapi.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jsfriendapi.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsnum.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsnum.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jsnum.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "perf/jsperf.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "perf/jsperf.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "perf/jsperf.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "proxy/BaseProxyHandler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "proxy/BaseProxyHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "proxy/BaseProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src28.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "proxy/CrossCompartmentWrapper.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "proxy/CrossCompartmentWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "proxy/CrossCompartmentWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "proxy/DeadObjectProxy.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "proxy/DeadObjectProxy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "proxy/DeadObjectProxy.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "proxy/OpaqueCrossCompartmentWrapper.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "proxy/OpaqueCrossCompartmentWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "proxy/OpaqueCrossCompartmentWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "proxy/Proxy.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "proxy/Proxy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "proxy/Proxy.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "proxy/ScriptedProxyHandler.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "proxy/ScriptedProxyHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "proxy/ScriptedProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "proxy/SecurityWrapper.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "proxy/SecurityWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "proxy/SecurityWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src29.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "proxy/Wrapper.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "proxy/Wrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "proxy/Wrapper.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "threading/Mutex.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "threading/Mutex.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "threading/Mutex.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "threading/ProtectedData.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "threading/ProtectedData.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "threading/ProtectedData.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "threading/posix/CpuCount.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "threading/posix/CpuCount.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "threading/posix/CpuCount.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "threading/posix/Thread.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "threading/posix/Thread.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "threading/posix/Thread.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "util/AllocPolicy.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "util/AllocPolicy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "util/AllocPolicy.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src3.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/WeakSetObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/WeakSetObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/WeakSetObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/intl/Collator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/intl/Collator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/intl/Collator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/intl/CommonFunctions.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/intl/CommonFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/intl/CommonFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/intl/DateTimeFormat.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/intl/DateTimeFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/intl/DateTimeFormat.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/intl/IntlObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/intl/IntlObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/intl/IntlObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/intl/NumberFormat.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/intl/NumberFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/intl/NumberFormat.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src30.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "util/NativeStack.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "util/NativeStack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "util/NativeStack.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "util/Printf.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "util/Printf.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "util/Printf.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "util/StringBuffer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "util/StringBuffer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "util/StringBuffer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "util/Text.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "util/Text.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "util/Text.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "util/Unicode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "util/Unicode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "util/Unicode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/ArgumentsObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/ArgumentsObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/ArgumentsObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src31.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/ArrayBufferObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/ArrayBufferObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/ArrayBufferObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/AsyncFunction.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/AsyncFunction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/AsyncFunction.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/AsyncIteration.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/AsyncIteration.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/AsyncIteration.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/BytecodeUtil.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/BytecodeUtil.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/BytecodeUtil.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Caches.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Caches.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Caches.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/CallNonGenericMethod.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/CallNonGenericMethod.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/CallNonGenericMethod.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src32.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/CharacterEncoding.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/CharacterEncoding.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/CharacterEncoding.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/CodeCoverage.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/CodeCoverage.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/CodeCoverage.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Compression.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Compression.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Compression.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/DateTime.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/DateTime.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/DateTime.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Debugger.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Debugger.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Debugger.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/DebuggerMemory.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/DebuggerMemory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/DebuggerMemory.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src33.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/EnvironmentObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/EnvironmentObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/EnvironmentObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ErrorObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ErrorObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/ErrorObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/ErrorReporting.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/ErrorReporting.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/ErrorReporting.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/ForOfIterator.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/ForOfIterator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/ForOfIterator.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/GeckoProfiler.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/GeckoProfiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/GeckoProfiler.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/GeneratorObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/GeneratorObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/GeneratorObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src34.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src34.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src34.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/GlobalObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/GlobalObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/GlobalObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/HelperThreads.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/HelperThreads.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/HelperThreads.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Id.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Id.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Id.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/Initialization.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/Initialization.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/Initialization.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Iteration.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Iteration.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Iteration.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/JSCompartment.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/JSCompartment.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/JSCompartment.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src35.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src35.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src35.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/JSContext.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/JSContext.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/JSContext.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/JSFunction.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/JSFunction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/JSFunction.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/JSONParser.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/JSONParser.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/JSONParser.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/JSONPrinter.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/JSONPrinter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/JSONPrinter.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/JSObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/JSObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/JSObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/JSScript.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/JSScript.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/JSScript.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src36.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src36.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src36.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/MemoryMetrics.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/MemoryMetrics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/MemoryMetrics.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/NativeObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/NativeObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/NativeObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/ObjectGroup.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/ObjectGroup.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/ObjectGroup.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/PIC.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/PIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/PIC.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/PosixNSPR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/PosixNSPR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/PosixNSPR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/Printer.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/Printer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/Printer.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src37.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src37.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src37.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Probes.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Probes.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/Probes.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ProxyObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ProxyObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/ProxyObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Realm.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Realm.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Realm.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/ReceiverGuard.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/ReceiverGuard.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/ReceiverGuard.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/RegExpObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/RegExpObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/RegExpObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/RegExpStatics.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/RegExpStatics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/RegExpStatics.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src38.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Runtime.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Runtime.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/Runtime.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/SavedStacks.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/SavedStacks.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/SavedStacks.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Scope.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Scope.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Scope.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/SelfHosting.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/SelfHosting.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/SelfHosting.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Shape.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Shape.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Shape.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/SharedArrayObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/SharedArrayObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/SharedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src39.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src39.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src39.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/SharedImmutableStringsCache.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/SharedImmutableStringsCache.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/SharedImmutableStringsCache.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Stack.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Stack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/Stack.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Stopwatch.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Stopwatch.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Stopwatch.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/StringType.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/StringType.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/StringType.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/StructuredClone.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/StructuredClone.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/StructuredClone.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/SymbolType.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/SymbolType.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/SymbolType.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src4.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/intl/PluralRules.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/intl/PluralRules.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/intl/PluralRules.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/intl/RelativeTimeFormat.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/intl/RelativeTimeFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/intl/RelativeTimeFormat.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/intl/SharedIntlData.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/intl/SharedIntlData.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/intl/SharedIntlData.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "devtools/sharkctl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "devtools/sharkctl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "devtools/sharkctl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "ds/Bitmap.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "ds/Bitmap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "ds/Bitmap.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "ds/LifoAlloc.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "ds/LifoAlloc.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "ds/LifoAlloc.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src40.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src40.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src40.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/TaggedProto.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/TaggedProto.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/TaggedProto.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Time.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Time.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/Time.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/TypeInference.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/TypeInference.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/TypeInference.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/TypedArrayObject.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/TypedArrayObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/TypedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/UbiNode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/UbiNode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/UbiNode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/UbiNodeCensus.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/UbiNodeCensus.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/UbiNodeCensus.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src41.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src41.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src41.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/UbiNodeShortestPaths.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/UbiNodeShortestPaths.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/UbiNodeShortestPaths.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/UnboxedObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/UnboxedObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/UnboxedObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Value.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Value.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Value.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/Xdr.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/Xdr.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/Xdr.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/AsmJS.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/AsmJS.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/AsmJS.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmBaselineCompile.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmBaselineCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmBaselineCompile.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src42.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmBinaryIterator.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmBinaryIterator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmBinaryIterator.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmBinaryToAST.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmBinaryToAST.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmBinaryToAST.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmBinaryToText.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmBinaryToText.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmBinaryToText.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmBuiltins.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmBuiltins.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmBuiltins.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmCode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmCode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmCode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmCompartment.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmCompartment.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmCompartment.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src43.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src43.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src43.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmCompile.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmCompile.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmDebug.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmDebug.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmDebug.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmFrameIter.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmFrameIter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmFrameIter.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmGenerator.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmGenerator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmGenerator.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmInstance.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmInstance.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmInstance.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmIonCompile.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmIonCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmIonCompile.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src44.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmJS.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmJS.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmJS.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmModule.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmModule.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmModule.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmProcess.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmProcess.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmProcess.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmSignalHandlers.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmSignalHandlers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmSignalHandlers.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmStubs.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmStubs.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmStubs.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmTable.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmTable.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmTable.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src45.cpp (+41 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src45.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src45.cpp
3
@@ -0,0 +1,37 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmTextToBinary.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmTextToBinary.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmTextToBinary.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmTextUtils.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmTextUtils.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmTextUtils.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmTypes.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmTypes.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmTypes.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmValidate.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmValidate.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmValidate.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src5.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "ds/MemoryProtectionExceptionHandler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "ds/MemoryProtectionExceptionHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "ds/MemoryProtectionExceptionHandler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "frontend/BytecodeCompiler.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "frontend/BytecodeCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "frontend/BytecodeCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "frontend/BytecodeEmitter.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "frontend/BytecodeEmitter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "frontend/BytecodeEmitter.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "frontend/FoldConstants.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "frontend/FoldConstants.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "frontend/FoldConstants.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "frontend/NameFunctions.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "frontend/NameFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "frontend/NameFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "frontend/ParseNode.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "frontend/ParseNode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "frontend/ParseNode.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src6.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "frontend/TokenStream.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "frontend/TokenStream.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "frontend/TokenStream.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Allocator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Allocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Allocator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/AtomMarking.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/AtomMarking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/AtomMarking.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/Barrier.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/Barrier.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/Barrier.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/GC.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/GC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/GC.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/GCTrace.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/GCTrace.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/GCTrace.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src7.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src7.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src7.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "gc/Marking.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "gc/Marking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "gc/Marking.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Memory.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Memory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Memory.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/Nursery.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/Nursery.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/Nursery.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/PublicIterators.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/PublicIterators.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/PublicIterators.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/RootMarking.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/RootMarking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/RootMarking.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/Statistics.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/Statistics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/Statistics.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src8.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "gc/Tracer.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "gc/Tracer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "gc/Tracer.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Verifier.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Verifier.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Verifier.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/WeakMap.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/WeakMap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/WeakMap.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/WeakMapPtr.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/WeakMapPtr.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/WeakMapPtr.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/Zone.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/Zone.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/Zone.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/ZoneGroup.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/ZoneGroup.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/ZoneGroup.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src9.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "irregexp/NativeRegExpMacroAssembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "irregexp/NativeRegExpMacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "irregexp/NativeRegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "irregexp/RegExpAST.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "irregexp/RegExpAST.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "irregexp/RegExpAST.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "irregexp/RegExpCharacters.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "irregexp/RegExpCharacters.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "irregexp/RegExpCharacters.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "irregexp/RegExpEngine.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "irregexp/RegExpEngine.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "irregexp/RegExpEngine.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "irregexp/RegExpInterpreter.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "irregexp/RegExpInterpreter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "irregexp/RegExpInterpreter.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "irregexp/RegExpMacroAssembler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "irregexp/RegExpMacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "irregexp/RegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_js-confdefs.h (+79 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/js-confdefs.h.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/js-confdefs.h
3
@@ -0,0 +1,76 @@
4
+/* List of defines generated by configure. Included with preprocessor flag,
5
+ * -include, to avoid long list of -D defines on the compile command-line.
6
+ * Do not edit.
7
+ */
8
+
9
+#ifndef js_confdefs_h
10
+#define js_confdefs_h
11
+
12
+// Expands to all the defines from configure.
13
+#define CPP_THROW_NEW throw()
14
+#define CROSS_COMPILE 
15
+#define EDITLINE 1
16
+#define HAVE_64BIT_BUILD 1
17
+#define HAVE_CLOCK_MONOTONIC 1
18
+#define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1
19
+#define HAVE_DIRENT_H 1
20
+#define HAVE_DLOPEN 1
21
+#define HAVE_GETC_UNLOCKED 1
22
+#define HAVE_GETOPT_H 1
23
+#define HAVE_GMTIME_R 1
24
+#define HAVE_INTTYPES_H 1
25
+#define HAVE_LANGINFO_CODESET 1
26
+#define HAVE_LIBM 1
27
+#define HAVE_LOCALECONV 1
28
+#define HAVE_LOCALTIME_R 1
29
+#define HAVE_MALLOC_USABLE_SIZE 1
30
+#define HAVE_NETINET_IN_H 1
31
+#define HAVE_NL_TYPES_H 1
32
+#define HAVE_POSIX_FADVISE 1
33
+#define HAVE_POSIX_FALLOCATE 1
34
+#define HAVE_POSIX_MEMALIGN 1
35
+#define HAVE_RES_NINIT 1
36
+#define HAVE_SINCOS 1
37
+#define HAVE_SSIZE_T 1
38
+#define HAVE_STDINT_H 1
39
+#define HAVE_STRNDUP 1
40
+#define HAVE_SYS_MOUNT_H 1
41
+#define HAVE_SYS_QUEUE_H 1
42
+#define HAVE_SYS_STATVFS_H 1
43
+#define HAVE_SYS_TYPES_H 1
44
+#define HAVE_THREAD_TLS_KEYWORD 1
45
+#define HAVE_TM_ZONE_TM_GMTOFF 1
46
+#define HAVE_UNISTD_H 1
47
+#define HAVE_VALLOC 1
48
+#define HAVE_VA_COPY 1
49
+#define HAVE_VISIBILITY_ATTRIBUTE 1
50
+#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
51
+#define HAVE___CXA_DEMANGLE 1
52
+#define JS_64BIT 1
53
+#define JS_CODEGEN_ARM64 1
54
+#define JS_DEFAULT_JITREPORT_GRANULARITY 3
55
+#define JS_POSIX_NSPR 1
56
+#define JS_PUNBOX64 1
57
+#define JS_STANDALONE 1
58
+#define MALLOC_H <malloc_np.h>
59
+#define MALLOC_USABLE_SIZE_CONST_PTR const
60
+#define MOZILLA_UAVERSION "60.0"
61
+#define MOZILLA_VERSION "60.3.0"
62
+#define MOZILLA_VERSION_U 60.3.0
63
+#define MOZJS_MAJOR_VERSION 60
64
+#define MOZJS_MINOR_VERSION 3
65
+#define MOZ_BUILD_APP js
66
+#define MOZ_DLL_SUFFIX ".so"
67
+#define MOZ_UPDATE_CHANNEL default
68
+#define NO_NSPR_10_SUPPORT 1
69
+#define RELEASE_OR_BETA 1
70
+#define STDC_HEADERS 1
71
+#define VA_COPY va_copy
72
+#define XP_UNIX 1
73
+#define X_DISPLAY_MISSING 1
74
+#define _REENTRANT 1
75
+#define _THREAD_SAFE 1
76
+
77
+#include "js/RequiredDefines.h"
78
+
79
+#endif /* js_confdefs_h */
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_include_js-config.h (+64 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/include/js-config.h.orig	2019-11-14 10:50:21 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/include/js-config.h
3
@@ -0,0 +1,61 @@
4
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
5
+ * vim: set ts=8 sw=4 et tw=78:
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10
+
11
+#ifndef js_config_h
12
+#define js_config_h
13
+
14
+/* Definitions set at build time that affect SpiderMonkey's public API.
15
+   This header file is generated by the SpiderMonkey configure script,
16
+   and installed along with jsapi.h.  */
17
+
18
+/* Define to 1 if SpiderMonkey is in debug mode. */
19
+/* #undef JS_DEBUG */
20
+
21
+/*
22
+ * NB: We have a special case for rust-bindgen, which wants to be able to
23
+ * generate both debug and release bindings on a single objdir.
24
+ */
25
+#ifdef JS_DEBUG
26
+#if !defined(DEBUG) && !defined(RUST_BINDGEN)
27
+#  error "SpiderMonkey was configured with --enable-debug, so DEBUG must be defined when including this header"
28
+# endif
29
+#else
30
+# if defined(DEBUG) && !defined(RUST_BINDGEN)
31
+#  error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
32
+# endif
33
+#endif
34
+
35
+/* Define to 1 if SpiderMonkey should not use struct types in debug builds. */
36
+/* #undef JS_NO_JSVAL_JSID_STRUCT_TYPES */
37
+
38
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
39
+/* #undef JS_THREADSAFE */
40
+
41
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
42
+/* #undef JS_HAS_CTYPES */
43
+
44
+/* Define to 1 if SpiderMonkey should support the ability to perform
45
+   entirely too much GC.  */
46
+/* #undef JS_GC_ZEAL */
47
+
48
+/* Define to 1 if SpiderMonkey should use small chunks. */
49
+/* #undef JS_GC_SMALL_CHUNK_SIZE */
50
+
51
+/* Define to 1 to perform extra assertions and heap poisoning. */
52
+/* #undef JS_CRASH_DIAGNOSTICS */
53
+
54
+/* Define to 1 if SpiderMonkey is in NUNBOX32 mode. */
55
+/* #undef JS_NUNBOX32 */
56
+
57
+/* Define to 1 if SpiderMonkey is in PUNBOX64 mode. */
58
+#define JS_PUNBOX64 1
59
+
60
+/* MOZILLA JSAPI version number components */
61
+#define MOZJS_MAJOR_VERSION 60
62
+#define MOZJS_MINOR_VERSION 3
63
+
64
+#endif /* js_config_h */
(-)databases/mongodb42/files/patch-SConstruct (-7 / +8 lines)
Lines 1-19 Link Here
1
--- SConstruct.orig	2018-01-04 23:28:55 UTC
1
--- SConstruct.orig	2019-08-08 20:06:23 UTC
2
+++ SConstruct
2
+++ SConstruct
3
@@ -922,9 +922,9 @@ if has_option('variables-help'):
3
@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
4
     print(env_vars.GenerateHelpText(env))
4
     print((env_vars.GenerateHelpText(env)))
5
     Exit(0)
5
     Exit(0)
6
 
6
 
7
-unknown_vars = env_vars.UnknownVariables()
7
-unknown_vars = env_vars.UnknownVariables()
8
-if unknown_vars:
8
-if unknown_vars:
9
-    env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys()))
9
-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
10
+#unknown_vars = env_vars.UnknownVariables()
10
+#unknown_vars = env_vars.UnknownVariables()
11
+#if unknown_vars:
11
+#if unknown_vars:
12
+#    env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys()))
12
+#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
13
 
13
 
14
 def set_config_header_define(env, varname, varval = 1):
14
 def set_config_header_define(env, varname, varval = 1):
15
     env['CONFIG_HEADER_DEFINES'][varname] = varval
15
     env['CONFIG_HEADER_DEFINES'][varname] = varval
16
@@ -1612,7 +1612,7 @@ if env.TargetOSIs('posix'):
16
@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'):
17
             # If runtime hardening is requested, then build anything
17
             # If runtime hardening is requested, then build anything
18
             # destined for an executable with the necessary flags for PIE.
18
             # destined for an executable with the necessary flags for PIE.
19
             env.AppendUnique(
19
             env.AppendUnique(
Lines 22-28 Link Here
22
                 PROGLINKFLAGS=['-pie'],
22
                 PROGLINKFLAGS=['-pie'],
23
             )
23
             )
24
 
24
 
25
@@ -1626,7 +1626,7 @@ if env.TargetOSIs('posix'):
25
@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'):
26
                          "-Wno-unknown-pragmas",
26
                          "-Wno-unknown-pragmas",
27
                          "-Winvalid-pch"] )
27
                          "-Winvalid-pch"] )
28
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
28
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
Lines 30-32 Link Here
30
+    if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
30
+    if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
31
         if not has_option("disable-warnings-as-errors"):
31
         if not has_option("disable-warnings-as-errors"):
32
             env.Append( CCFLAGS=["-Werror"] )
32
             env.Append( CCFLAGS=["-Werror"] )
33
 
(-)databases/mongodb42/files/patch-rpm_mongod.conf (-2 / +2 lines)
Lines 1-4 Link Here
1
--- rpm/mongod.conf.orig	2018-01-04 23:28:55 UTC
1
--- rpm/mongod.conf.orig	2019-08-08 20:06:23 UTC
2
+++ rpm/mongod.conf
2
+++ rpm/mongod.conf
3
@@ -7,11 +7,11 @@
3
@@ -7,11 +7,11 @@
4
 systemLog:
4
 systemLog:
Lines 14-20 Link Here
14
   journal:
14
   journal:
15
     enabled: true
15
     enabled: true
16
 #  engine:
16
 #  engine:
17
@@ -21,7 +21,7 @@ storage:
17
@@ -20,7 +20,7 @@ storage:
18
 # how the process runs
18
 # how the process runs
19
 processManagement:
19
 processManagement:
20
   fork: true  # fork and run in background
20
   fork: true  # fork and run in background

Return to bug 242002