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

Collapse All | Expand All

(-)databases/mongodb40/files/aarch64/patch-src_third__party_mozjs-45_SConscript (+18 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-45/SConscript.orig	2019-01-18 20:35:17 UTC
2
+++ src/third_party/mozjs-45/SConscript
3
@@ -97,7 +97,6 @@ env.Prepend(CPPPATH=[
4
 sources = [
5
     "extract/js/src/builtin/RegExp.cpp",
6
     "extract/js/src/frontend/Parser.cpp",
7
-    "extract/js/src/jit/ProcessExecutableMemory.cpp",
8
     "extract/js/src/jsarray.cpp",
9
     "extract/js/src/jsatom.cpp",
10
     "extract/js/src/jsmath.cpp",
11
@@ -112,6 +111,7 @@ sources = [
12
 
13
 if env['TARGET_ARCH'] == 'x86_64' and not env.TargetOSIs('solaris'):
14
     sources.extend([
15
+        "extract/js/src/jit/ProcessExecutableMemory.cpp",
16
         "extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp",
17
     ])
18
 
(-)databases/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/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/mongodb40/files/patch-SConstruct (+32 lines)
Line 0 Link Here
1
--- SConstruct.orig	2018-01-04 23:28:55 UTC
2
+++ SConstruct
3
@@ -922,9 +922,9 @@ if has_option('variables-help'):
4
     print(env_vars.GenerateHelpText(env))
5
     Exit(0)
6
 
7
-unknown_vars = env_vars.UnknownVariables()
8
-if unknown_vars:
9
-    env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys()))
10
+#unknown_vars = env_vars.UnknownVariables()
11
+#if unknown_vars:
12
+#    env.FatalError("Unknown variables specified: {0}", ", ".join(unknown_vars.keys()))
13
 
14
 def set_config_header_define(env, varname, varval = 1):
15
     env['CONFIG_HEADER_DEFINES'][varname] = varval
16
@@ -1612,7 +1612,7 @@ if env.TargetOSIs('posix'):
17
             # If runtime hardening is requested, then build anything
18
             # destined for an executable with the necessary flags for PIE.
19
             env.AppendUnique(
20
-                PROGCCFLAGS=['-fPIE'],
21
+                PROGCCFLAGS=['-fpic'],
22
                 PROGLINKFLAGS=['-pie'],
23
             )
24
 
25
@@ -1626,7 +1626,7 @@ if env.TargetOSIs('posix'):
26
                          "-Wno-unknown-pragmas",
27
                          "-Winvalid-pch"] )
28
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
29
-    if env.TargetOSIs('linux', 'darwin', 'solaris'):
30
+    if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
31
         if not has_option("disable-warnings-as-errors"):
32
             env.Append( CCFLAGS=["-Werror"] )
(-)databases/mongodb40/files/patch-asio-libc++7 (+15 lines)
Line 0 Link Here
1
https://github.com/boostorg/asio/commit/b5b17a67f0aa29f5156324d5e8a73dd8669a5a51
2
3
--- src/third_party/asio-master/asio/include/asio/detail/config.hpp.orig	2018-07-03 21:09:33 UTC
4
+++ src/third_party/asio-master/asio/include/asio/detail/config.hpp
5
@@ -784,8 +784,9 @@
6
 # if !defined(ASIO_DISABLE_STD_STRING_VIEW)
7
 #  if defined(__clang__)
8
 #   if (__cplusplus >= 201402)
9
-#    if __has_include(<experimental/string_view>)
10
+#    if __has_include(<string_view>)
11
 #     define ASIO_HAS_STD_STRING_VIEW 1
12
+#    elif __has_include(<experimental/string_view>)
13
 #     define ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW 1
14
 #    endif // __has_include(<experimental/string_view>)
15
 #   endif // (__cplusplus >= 201402)
(-)databases/mongodb40/files/patch-boost-1.67 (+25 lines)
Line 0 Link Here
1
In file included from src/third_party/yaml-cpp-0.5.3/src/nodebuilder.cpp:5:
2
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node.h:14:
3
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_ref.h:13:
4
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_data.h:20:
5
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/iterator.h:13:
6
src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h:48:54: error: no member named 'next' in namespace 'boost'
7
  void increment() { this->base_reference() = boost::next(this->base()); }
8
                                              ~~~~~~~^
9
10
--- src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h.orig	2018-02-16 21:50:58 UTC
11
+++ src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h
12
@@ -11,7 +11,13 @@
13
 #include "yaml-cpp/node/ptr.h"
14
 #include "yaml-cpp/node/detail/node_iterator.h"
15
 #include <boost/iterator/iterator_adaptor.hpp>
16
+
17
+#include <boost/version.hpp>
18
+#if BOOST_VERSION < 106700
19
 #include <boost/utility.hpp>
20
+#else
21
+#include <boost/next_prior.hpp>
22
+#endif
23
 
24
 namespace YAML {
25
 namespace detail {
(-)databases/mongodb40/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

Return to bug 234310