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

Collapse All | Expand All

(-)databases/Makefile (+1 lines)
Lines 188-193 Link Here
188
    SUBDIR += mongodb36-tools
188
    SUBDIR += mongodb36-tools
189
    SUBDIR += mongodb40
189
    SUBDIR += mongodb40
190
    SUBDIR += mongodb40-tools
190
    SUBDIR += mongodb40-tools
191
    SUBDIR += mongodb42
191
    SUBDIR += mroonga
192
    SUBDIR += mroonga
192
    SUBDIR += mtools-mongodb
193
    SUBDIR += mtools-mongodb
193
    SUBDIR += mtop
194
    SUBDIR += mtop
(-)databases/mongodb42/Makefile (+87 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	mongodb
4
DISTVERSIONPREFIX=r
5
DISTVERSION=	4.2.7
6
CATEGORIES=	databases net
7
MASTER_SITES=	https://fastdl.mongodb.org/src/ \
8
		http://fastdl.mongodb.org/src/ \
9
		http://download.mongodb.org/src/
10
PKGNAMESUFFIX=	${PORTVERSION:R:S/.//}
11
DISTNAME=	mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
12
13
MAINTAINER=	dev.ashevchuk@gmail.com
14
COMMENT=	Distributed document-oriented "NoSQL" database
15
16
LICENSE=	SSPLv1
17
LICENSE_NAME=	Server Side Public License Version 1
18
LICENSE_FILE=	${WRKSRC}/LICENSE-Community.txt
19
LICENSE_PERMS=	auto-accept
20
21
ONLY_FOR_ARCHS=	aarch64 amd64
22
ONLY_FOR_ARCHS_REASON=	"Only supported on amd64 and aarch64 (i386 deprecated in v3)"
23
24
BUILD_DEPENDS=	${PY_TYPING} \
25
		${PYTHON_PKGNAMEPREFIX}cheetah3>=3.2.4:devel/py-cheetah3@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} \
27
		${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \
28
		${PYTHON_PKGNAMEPREFIX}regex>=2020.4.4:textproc/py-regex@${PY_FLAVOR} \
29
		${LOCALBASE}/bin/ar:devel/binutils
30
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
31
		libpcre.so:devel/pcre \
32
		libcurl.so:ftp/curl \
33
		libsnappy.so:archivers/snappy
34
35
USES=		compiler:c++17-lang cpe python:3.7,build scons shebangfix
36
USE_RC_SUBR=	mongod
37
38
CONFLICTS_BUILD=	mongo-cxx-driver
39
CONFLICTS_INSTALL=	mongodb3[46] mongodb40
40
41
SHEBANG_FILES=	src/mongo/installer/compass/install_compass.in
42
python_OLD_CMD=	@python_interpreter@
43
MAKE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
44
		--use-system-pcre --use-system-snappy \
45
		--use-system-boost --use-system-zlib \
46
		--cxx-std=17 --libc++ \
47
		--runtime-hardening=on \
48
		--disable-warnings-as-errors \
49
		VERBOSE=on AR=${PREFIX}/bin/ar
50
51
USERS=		mongodb
52
GROUPS=		mongodb
53
54
OPTIONS_DEFINE=		SASL SSL
55
OPTIONS_DEFAULT=	SASL SSL
56
57
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
58
SASL_MAKE_ARGS=		--use-sasl-client
59
60
SSL_USES=	ssl
61
SSL_MAKE_ARGS=	--ssl
62
63
.include <bsd.port.options.mk>
64
65
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
66
SUB_LIST+=	LEGACY_LIMITS="@comment " MODERN_LIMITS=""
67
.else
68
SUB_LIST+=	LEGACY_LIMITS="" MODERN_LIMITS="@comment "
69
.endif
70
71
.if ${ARCH} == aarch64
72
EXTRA_PATCHES=	${FILESDIR}/aarch64
73
.endif
74
75
ALL_TARGET=	core
76
77
PORTSCOUT=	limitw:1,even
78
79
CPE_PRODUCT=	mongodb
80
81
post-install:
82
.for f in mongo mongod mongos
83
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
84
.endfor
85
	${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
86
87
.include <bsd.port.mk>
(-)databases/mongodb42/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1591124677
2
SHA256 (mongodb-src-r4.2.7.tar.gz) = 5bafe1fde358df786aa461cf35eeb90f14793e4e167985c9ff9be53009cfeb2e
3
SIZE (mongodb-src-r4.2.7.tar.gz) = 61727123
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-45_platform_aarch64_freebsd_build_Unified__cpp__js__src0.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "asmjs/AsmJSFrameIterator.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "asmjs/AsmJSFrameIterator.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 "asmjs/AsmJSFrameIterator.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "asmjs/AsmJSLink.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "asmjs/AsmJSLink.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 "asmjs/AsmJSLink.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "asmjs/AsmJSModule.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "asmjs/AsmJSModule.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 "asmjs/AsmJSModule.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "asmjs/AsmJSSignalHandlers.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "asmjs/AsmJSSignalHandlers.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 "asmjs/AsmJSSignalHandlers.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "asmjs/AsmJSValidate.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "asmjs/AsmJSValidate.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 "asmjs/AsmJSValidate.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "asmjs/WasmGenerator.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "asmjs/WasmGenerator.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 "asmjs/WasmGenerator.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src1.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "asmjs/WasmIonCompile.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "asmjs/WasmIonCompile.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 "asmjs/WasmIonCompile.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "asmjs/WasmStubs.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "asmjs/WasmStubs.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 "asmjs/WasmStubs.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/AtomicsObject.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/AtomicsObject.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/AtomicsObject.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/Eval.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/Eval.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/Eval.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/Intl.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/Intl.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.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/MapObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/MapObject.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/MapObject.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src10.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src10.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src10.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src11.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src11.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src11.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/CodeGenerator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/CodeGenerator.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/CodeGenerator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/CompileWrappers.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/CompileWrappers.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/CompileWrappers.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/Disassembler.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/Disassembler.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/Disassembler.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/EagerSimdUnbox.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/EagerSimdUnbox.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/EagerSimdUnbox.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/EdgeCaseAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/EdgeCaseAnalysis.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/EdgeCaseAnalysis.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src12.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/EffectiveAddressAnalysis.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/EffectiveAddressAnalysis.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/EffectiveAddressAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/ExecutableAllocator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/ExecutableAllocator.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/ExecutableAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/InstructionReordering.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/InstructionReordering.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/InstructionReordering.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/Ion.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/Ion.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/Ion.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/IonAnalysis.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/IonAnalysis.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/IonAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/IonBuilder.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/IonBuilder.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/IonBuilder.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src13.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/IonCaches.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/IonCaches.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/IonCaches.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/IonOptimizationLevels.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/IonOptimizationLevels.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/IonOptimizationLevels.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/JSONSpewer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/JSONSpewer.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/JSONSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/JitFrames.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/JitFrames.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/JitFrames.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/JitOptions.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/JitOptions.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/JitOptions.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/JitSpewer.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/JitSpewer.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/JitSpewer.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src14.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/JitcodeMap.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/JitcodeMap.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/JitcodeMap.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/LICM.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/LICM.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/LICM.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/LIR.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/LIR.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/LIR.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/LoopUnroller.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/LoopUnroller.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/LoopUnroller.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/Lowering.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/Lowering.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/Lowering.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/MCallOptimize.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/MCallOptimize.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/MCallOptimize.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src15.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/MIR.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/MIR.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/MIR.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/MIRGraph.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/MIRGraph.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/MIRGraph.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/MacroAssembler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/MacroAssembler.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/MacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/MoveResolver.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/MoveResolver.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/MoveResolver.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/OptimizationTracking.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/OptimizationTracking.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/OptimizationTracking.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/PerfSpewer.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/PerfSpewer.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/PerfSpewer.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src16.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/ProcessExecutableMemory.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/ProcessExecutableMemory.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/ProcessExecutableMemory.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/RangeAnalysis.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/RangeAnalysis.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/RangeAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Recover.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Recover.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/Recover.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/RegisterAllocator.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/RegisterAllocator.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/RegisterAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/RematerializedFrame.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/RematerializedFrame.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/RematerializedFrame.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/Safepoints.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/Safepoints.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/Safepoints.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src17.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/ScalarReplacement.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/ScalarReplacement.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/ScalarReplacement.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/SharedIC.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/SharedIC.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/SharedIC.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Sink.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Sink.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/Sink.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/Snapshots.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/Snapshots.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/Snapshots.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/StupidAllocator.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/StupidAllocator.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/StupidAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/TypePolicy.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/TypePolicy.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/TypePolicy.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src18.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/TypedObjectPrediction.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/TypedObjectPrediction.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/TypedObjectPrediction.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/VMFunctions.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/VMFunctions.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/VMFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/ValueNumbering.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/ValueNumbering.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/ValueNumbering.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/none/Trampoline-none.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/none/Trampoline-none.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/none/Trampoline-none.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/shared/BaselineCompiler-shared.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/shared/BaselineCompiler-shared.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/shared/BaselineCompiler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/shared/CodeGenerator-shared.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/shared/CodeGenerator-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/CodeGenerator-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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src19.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/shared/Lowering-shared.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/shared/Lowering-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/Lowering-shared.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jsalloc.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jsalloc.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 "jsalloc.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsapi.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsapi.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 "jsapi.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsbool.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsbool.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 "jsbool.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jscntxt.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jscntxt.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 "jscntxt.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jscompartment.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "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 "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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src2.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/ModuleObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/ModuleObject.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/ModuleObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/Object.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/Object.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/Object.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Profilers.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Profilers.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/Profilers.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src20.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src20.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src20.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 "jsdtoa.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jsdtoa.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 "jsdtoa.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsexn.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsexn.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 "jsexn.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsfriendapi.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsfriendapi.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 "jsfriendapi.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jsfun.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jsfun.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 "jsfun.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jsgc.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jsgc.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 "jsgc.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src21.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jsiter.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jsiter.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 "jsiter.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jsnativestack.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jsnativestack.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 "jsnativestack.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsnum.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsnum.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 "jsnum.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsobj.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsobj.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 "jsobj.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "json.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "json.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 "json.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jsopcode.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jsopcode.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 "jsopcode.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src22.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jsprf.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jsprf.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 "jsprf.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jspropertytree.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jspropertytree.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 "jspropertytree.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsscript.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsscript.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 "jsscript.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsstr.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsstr.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 "jsstr.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jswatchpoint.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jswatchpoint.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 "jswatchpoint.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jsweakmap.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jsweakmap.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 "jsweakmap.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src23.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "perf/jsperf.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "perf/jsperf.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 "perf/jsperf.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "proxy/BaseProxyHandler.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "proxy/BaseProxyHandler.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/BaseProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "proxy/CrossCompartmentWrapper.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "proxy/CrossCompartmentWrapper.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/CrossCompartmentWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "proxy/DeadObjectProxy.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "proxy/DeadObjectProxy.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/DeadObjectProxy.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "proxy/DirectProxyHandler.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "proxy/DirectProxyHandler.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/DirectProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "proxy/OpaqueCrossCompartmentWrapper.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "proxy/OpaqueCrossCompartmentWrapper.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/OpaqueCrossCompartmentWrapper.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src24.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "proxy/Proxy.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "proxy/Proxy.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/Proxy.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "proxy/ScriptedDirectProxyHandler.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "proxy/ScriptedDirectProxyHandler.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/ScriptedDirectProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "proxy/ScriptedIndirectProxyHandler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "proxy/ScriptedIndirectProxyHandler.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/ScriptedIndirectProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "proxy/SecurityWrapper.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "proxy/SecurityWrapper.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/SecurityWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "proxy/Wrapper.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "proxy/Wrapper.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/Wrapper.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src25.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src25.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src25.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/CallNonGenericMethod.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/CallNonGenericMethod.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/CallNonGenericMethod.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/CharacterEncoding.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/CharacterEncoding.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/CharacterEncoding.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/CodeCoverage.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/CodeCoverage.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/CodeCoverage.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Compression.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Compression.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/Compression.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/DateTime.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/DateTime.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/DateTime.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src26.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Debugger.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Debugger.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/Debugger.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/DebuggerMemory.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/DebuggerMemory.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/DebuggerMemory.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/ErrorObject.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/ErrorObject.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/ErrorObject.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/GeneratorObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/GeneratorObject.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/GeneratorObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/GlobalObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/GlobalObject.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/GlobalObject.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src27.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/HelperThreads.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/HelperThreads.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/HelperThreads.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Id.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Id.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/Id.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Interpreter.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Interpreter.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/Interpreter.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/JSONParser.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/JSONParser.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/JSONParser.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/MemoryMetrics.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/MemoryMetrics.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/MemoryMetrics.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/Monitor.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/Monitor.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/Monitor.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src28.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/NativeObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/NativeObject.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/NativeObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ObjectGroup.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ObjectGroup.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/ObjectGroup.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/PIC.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/PIC.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/PIC.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/PosixNSPR.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/PosixNSPR.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/PosixNSPR.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Printer.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Printer.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/Printer.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/Probes.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/Probes.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/Probes.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src29.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/ProxyObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/ProxyObject.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/ProxyObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ReceiverGuard.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ReceiverGuard.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/ReceiverGuard.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/RegExpObject.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/RegExpObject.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/RegExpObject.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/RegExpStatics.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/RegExpStatics.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/RegExpStatics.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Runtime.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Runtime.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/Runtime.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/SPSProfiler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/SPSProfiler.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/SPSProfiler.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src3.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/SymbolObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/SymbolObject.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/SymbolObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/TestingFunctions.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/TestingFunctions.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/TestingFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/TypedObject.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/TypedObject.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/TypedObject.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/WeakMapObject.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/WeakMapObject.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/WeakMapObject.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/WeakSetObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/WeakSetObject.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/WeakSetObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "devtools/sharkctl.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "devtools/sharkctl.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 "devtools/sharkctl.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src30.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/SavedStacks.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/SavedStacks.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/SavedStacks.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ScopeObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ScopeObject.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/ScopeObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/SelfHosting.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/SelfHosting.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/SelfHosting.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/Shape.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/Shape.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/Shape.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/SharedArrayObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/SharedArrayObject.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/SharedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/Stack.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/Stack.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/Stack.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src31.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Stopwatch.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Stopwatch.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/Stopwatch.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/String.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/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 "vm/String.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/StringBuffer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/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 "vm/StringBuffer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/StructuredClone.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/StructuredClone.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/StructuredClone.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Symbol.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Symbol.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/Symbol.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/TaggedProto.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/TaggedProto.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/TaggedProto.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src32.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp.orig	2019-01-18 22:48:17 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Time.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Time.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/Time.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/TypeInference.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/TypeInference.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/TypeInference.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/TypedArrayObject.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/TypedArrayObject.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/TypedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/UbiNode.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/UbiNode.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/UbiNode.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/UbiNodeCensus.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/UbiNodeCensus.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/UbiNodeCensus.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/UnboxedObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/UnboxedObject.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/UnboxedObject.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src33.cpp (+41 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp
3
@@ -0,0 +1,37 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Unicode.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Unicode.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/Unicode.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Value.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Value.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/Value.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/WeakMapPtr.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/WeakMapPtr.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/WeakMapPtr.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
\ No newline at end of file
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-45_platform_aarch64_freebsd_build_Unified__cpp__js__src4.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "ds/LifoAlloc.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "ds/LifoAlloc.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/LifoAlloc.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/ParseMaps.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "frontend/ParseMaps.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/ParseMaps.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src5.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "frontend/ParseNode.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "frontend/ParseNode.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/ParseNode.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "frontend/TokenStream.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "frontend/TokenStream.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/TokenStream.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/Allocator.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/Allocator.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/Allocator.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/GCTrace.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/GCTrace.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/GCTrace.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/Iteration.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/Iteration.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/Iteration.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src6.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src6.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/MemoryProfiler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/MemoryProfiler.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/MemoryProfiler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/Nursery.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/Nursery.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/Nursery.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src7.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src7.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src7.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/Zone.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/Zone.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/Zone.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "irregexp/NativeRegExpMacroAssembler.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "irregexp/NativeRegExpMacroAssembler.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/NativeRegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "irregexp/RegExpAST.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "irregexp/RegExpAST.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/RegExpAST.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "irregexp/RegExpEngine.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "irregexp/RegExpEngine.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/RegExpEngine.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src8.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "irregexp/RegExpInterpreter.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "irregexp/RegExpInterpreter.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/RegExpInterpreter.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "irregexp/RegExpMacroAssembler.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "irregexp/RegExpMacroAssembler.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/RegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "irregexp/RegExpParser.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "irregexp/RegExpParser.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/RegExpParser.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "irregexp/RegExpStack.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "irregexp/RegExpStack.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/RegExpStack.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/AliasAnalysis.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/AliasAnalysis.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/AliasAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/AlignmentMaskAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/AlignmentMaskAnalysis.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/AlignmentMaskAnalysis.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-45_platform_aarch64_freebsd_build_Unified__cpp__js__src9.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/BacktrackingAllocator.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/BacktrackingAllocator.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/BacktrackingAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/Bailouts.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/Bailouts.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/Bailouts.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/BaselineBailouts.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/BaselineBailouts.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/BaselineBailouts.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-45_platform_aarch64_freebsd_build_js-confdefs.h (+91 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/build/js-confdefs.h.orig	2019-01-18 22:48:18 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/build/js-confdefs.h
3
@@ -0,0 +1,88 @@
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
+#define CPP_THROW_NEW throw()
13
+#define D_INO d_ino
14
+#define EDITLINE 1
15
+#define HAVE_64BIT_BUILD 1
16
+#define HAVE_ACOSH 1
17
+#define HAVE_ASINH 1
18
+#define HAVE_ATANH 1
19
+#define HAVE_CBRT 1
20
+#define HAVE_CLOCK_MONOTONIC 1
21
+#define HAVE_CPP_AMBIGUITY_RESOLVING_USING 1
22
+#define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1
23
+#define HAVE_DIRENT_H 1
24
+#define HAVE_DLOPEN 1
25
+#define HAVE_EXPM1 1
26
+#define HAVE_GETC_UNLOCKED 1
27
+#define HAVE_GETOPT_H 1
28
+#define HAVE_GMTIME_R 1
29
+#define HAVE_I18N_LC_MESSAGES 1
30
+#define HAVE_LANGINFO_CODESET 1
31
+#define HAVE_LIBM 1
32
+#define HAVE_LOCALECONV 1
33
+#define HAVE_LOCALECONV 1
34
+#define HAVE_LOCALTIME_R 1
35
+#define HAVE_LOG1P 1
36
+#define HAVE_LOG2 1
37
+#define HAVE_MACHINE_ENDIAN_H 1
38
+#define HAVE_MALLOC_USABLE_SIZE 1
39
+#define HAVE_MBRTOWC 1
40
+#define HAVE_MEMORY_H 1
41
+#define HAVE_NL_TYPES_H 1
42
+#define HAVE_POSIX_FADVISE 1
43
+#define HAVE_POSIX_FALLOCATE 1
44
+#define HAVE_POSIX_MEMALIGN 1
45
+#define HAVE_RES_NINIT 1
46
+#define HAVE_SETLOCALE 1
47
+#define HAVE_SSIZE_T 1
48
+#define HAVE_STRNDUP 1
49
+#define HAVE_SYS_CDEFS_H 1
50
+#define HAVE_SYS_MOUNT_H 1
51
+#define HAVE_SYS_STATVFS_H 1
52
+#define HAVE_THREAD_TLS_KEYWORD 1
53
+#define HAVE_TM_ZONE_TM_GMTOFF 1
54
+#define HAVE_UNISTD_H 1
55
+#define HAVE_VALLOC 1
56
+#define HAVE_VA_COPY 1
57
+#define HAVE_VISIBILITY_ATTRIBUTE 1
58
+#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
59
+#define HAVE_WCRTOMB 1
60
+#define HAVE_X11_XKBLIB_H 1
61
+#define HAVE___CXA_DEMANGLE 1
62
+#define JS_CODEGEN_NONE 1
63
+#define JS_DEFAULT_JITREPORT_GRANULARITY 3
64
+#define JS_HAVE_MACHINE_ENDIAN_H 1
65
+#define JS_POSIX_NSPR 1
66
+#define JS_PUNBOX64 1
67
+#define JS_STANDALONE 1
68
+#define MALLOC_H <malloc_np.h>
69
+#define MALLOC_USABLE_SIZE_CONST_PTR const
70
+#define MOZILLA_UAVERSION "45.0"
71
+#define MOZILLA_VERSION "45.9.0"
72
+#define MOZILLA_VERSION_U 45.9.0
73
+#define MOZJS_MAJOR_VERSION 45
74
+#define MOZJS_MINOR_VERSION 9
75
+#define MOZ_DEBUG_SYMBOLS 1
76
+#define MOZ_DLL_SUFFIX ".so"
77
+#define MOZ_GLUE_IN_PROGRAM 1
78
+#define MOZ_MEMORY 1
79
+#define MOZ_MEMORY_BSD 1
80
+#define MOZ_UPDATE_CHANNEL default
81
+#define NO_NSPR_10_SUPPORT 1
82
+#define RELEASE_BUILD 1
83
+#define STDC_HEADERS 1
84
+#define VA_COPY va_copy
85
+#define XP_UNIX 1
86
+#define _REENTRANT 1
87
+#define _THREAD_SAFE 1
88
+
89
+#include "js/RequiredDefines.h"
90
+
91
+#endif /* js_confdefs_h */
(-)databases/mongodb42/files/aarch64/patch-src_third__party_mozjs-45_platform_aarch64_freebsd_include_js-config.h (+62 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/platform/aarch64/freebsd/include/js-config.h.orig	2019-01-18 22:48:29 UTC
2
+++ src/third_party/mozjs-45/platform/aarch64/freebsd/include/js-config.h
3
@@ -0,0 +1,59 @@
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
+/* Define to 1 if SpiderMonkey should not use struct types in debug builds. */
22
+/* #undef JS_NO_JSVAL_JSID_STRUCT_TYPES */
23
+
24
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
25
+/* #undef JS_THREADSAFE */
26
+
27
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
28
+/* #undef JS_HAS_CTYPES */
29
+
30
+/* Define to 1 if SpiderMonkey should support the ability to perform
31
+   entirely too much GC.  */
32
+/* #undef JS_GC_ZEAL */
33
+
34
+/* Define to 1 if SpiderMonkey should use small chunks. */
35
+/* #undef JS_GC_SMALL_CHUNK_SIZE */
36
+
37
+/* Define to 1 to perform extra assertions and heap poisoning. */
38
+/* #undef JS_CRASH_DIAGNOSTICS */
39
+
40
+/* Define to 1 if the <endian.h> header is present and
41
+   useable.  See jscpucfg.h.  */
42
+/* #undef JS_HAVE_ENDIAN_H */
43
+
44
+/* Define to 1 if the <machine/endian.h> header is present and
45
+   useable.  See jscpucfg.h.  */
46
+#define JS_HAVE_MACHINE_ENDIAN_H 1
47
+
48
+/* Define to 1 if the <sys/isa_defs.h> header is present and
49
+   useable.  See jscpucfg.h.  */
50
+/* #undef JS_HAVE_SYS_ISA_DEFS_H */
51
+
52
+/* Define to 1 if SpiderMonkey is in NUNBOX32 mode. */
53
+/* #undef JS_NUNBOX32 */
54
+
55
+/* Define to 1 if SpiderMonkey is in PUNBOX64 mode. */
56
+#define JS_PUNBOX64 1
57
+
58
+/* MOZILLA JSAPI version number components */
59
+#define MOZJS_MAJOR_VERSION 45
60
+#define MOZJS_MINOR_VERSION 9
61
+
62
+#endif /* js_config_h */
(-)databases/mongodb42/files/mongod.in (+62 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: mongod
4
# REQUIRE: NETWORK ldconfig
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
8
# to enable this service:
9
#
10
# mongod_enable (bool):  Set to "NO" by default.
11
#                        Set it to "YES" to enable mongod.
12
%%LEGACY_LIMITS%%# mongod_limits (bool):  Set to "NO" by default.
13
%%LEGACY_LIMITS%%#                        Set it to yes to run `limits -e -U mongodb`
14
%%LEGACY_LIMITS%%#                        just before mongod starts.
15
# mongod_dbpath (str):   Default to "/var/db/mongodb"
16
#                        Base database directory.
17
# mongod_flags (str):    Custom additional arguments to be passed to mongod.
18
#                        Default to "--logpath ${mongod_dbpath}/mongod.log --logappend".
19
# mongod_config (str):	 Default to "%%PREFIX%%/etc/mongodb.conf"
20
#                        Path to config file
21
#
22
23
. /etc/rc.subr
24
25
name="mongod"
26
rcvar=mongod_enable
27
28
load_rc_config $name
29
30
: ${mongod_enable="NO"}
31
%%LEGACY_LIMITS%%: ${mongod_limits="NO"}
32
: ${mongod_dbpath="/var/db/mongodb"}
33
: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"}
34
: ${mongod_user="mongodb"}
35
: ${mongod_group="mongodb"}
36
: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"}
37
38
pidfile="${mongod_dbpath}/mongod.lock"
39
command=%%PREFIX%%/bin/${name}
40
command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null"
41
start_precmd="${name}_prestart"
42
43
mongod_create_dbpath()
44
{
45
        mkdir ${mongod_dbpath} >/dev/null 2>/dev/null
46
        [ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath}
47
}
48
49
mongod_prestart()
50
{
51
        if [ ! -d ${mongod_dbpath} ]; then
52
                mongod_create_dbpath || return 1
53
        fi
54
%%LEGACY_LIMITS%%        if checkyesno mongod_limits; then
55
%%LEGACY_LIMITS%%                eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null
56
%%LEGACY_LIMITS%%        else
57
%%LEGACY_LIMITS%%                return 0
58
%%LEGACY_LIMITS%%        fi
59
%%MODERN_LIMITS%%        return 0
60
}
61
62
run_rc_command "$1"
(-)databases/mongodb42/files/patch-SConstruct (+34 lines)
Line 0 Link Here
1
--- SConstruct.orig	2020-05-19 04:01:38 UTC
2
+++ SConstruct
3
@@ -669,6 +669,13 @@
4
 for file in variables_files:
5
     print(("Using variable customization file %s" % file))
6
 
7
+# Ignore unknown MAKE_ARGS from Mk/Uses/scons.mk
8
+for key in 'PREFIX','PKGCONFIGDIR','DESTDIR','destdir':
9
+    try:
10
+        del ARGUMENTS[key]
11
+    except KeyError:
12
+        pass
13
+
14
 env_vars = Variables(
15
     files=variables_files,
16
     args=ARGUMENTS
17
@@ -1860,7 +1867,7 @@
18
             # If runtime hardening is requested, then build anything
19
             # destined for an executable with the necessary flags for PIE.
20
             env.AppendUnique(
21
-                PROGCCFLAGS=['-fPIE'],
22
+                PROGCCFLAGS=['-fpic'],
23
                 PROGLINKFLAGS=['-pie'],
24
             )
25
 
26
@@ -1874,7 +1881,7 @@
27
                          "-Wno-unknown-pragmas",
28
                          "-Winvalid-pch"] )
29
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
30
-    if env.TargetOSIs('linux', 'darwin', 'solaris'):
31
+    if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
32
         if not has_option("disable-warnings-as-errors"):
33
             env.Append( CCFLAGS=["-Werror"] )
34
 
(-)databases/mongodb42/files/patch-rpm_mongod.conf (+25 lines)
Line 0 Link Here
1
--- rpm/mongod.conf.orig	2018-01-04 23:28:55 UTC
2
+++ rpm/mongod.conf
3
@@ -7,11 +7,11 @@
4
 systemLog:
5
   destination: file
6
   logAppend: true
7
-  path: /var/log/mongodb/mongod.log
8
+  path: /var/db/mongodb/mongod.log 
9
 
10
 # Where and how to store data.
11
 storage:
12
-  dbPath: /var/lib/mongo
13
+  dbPath: /var/db/mongodb 
14
   journal:
15
     enabled: true
16
 #  engine:
17
@@ -21,7 +21,7 @@ storage:
18
 # how the process runs
19
 processManagement:
20
   fork: true  # fork and run in background
21
-  pidFilePath: /var/run/mongodb/mongod.pid  # location of pidfile
22
+  pidFilePath: /var/db/mongodb/mongod.lock  # location of pidfile
23
   timeZoneInfo: /usr/share/zoneinfo
24
 
25
 # network interfaces
(-)databases/mongodb42/pkg-descr (+5 lines)
Line 0 Link Here
1
Mongo (from "humongous") is a high-performance, open source,
2
schema-free, document-oriented database. A common name in the
3
"NOSQL" community.
4
5
WWW: https://www.mongodb.com/
(-)databases/mongodb42/pkg-plist (+6 lines)
Line 0 Link Here
1
bin/install_compass
2
bin/mongo
3
bin/mongod
4
bin/mongos
5
etc/rc.d/mongod
6
@sample etc/mongodb.conf.sample

Return to bug 245976