diff -urN /usr/ports/databases/mongodb40/files/aarch64/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h mongodb40/files/aarch64/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h --- /usr/ports/databases/mongodb40/files/aarch64/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h 2019-02-05 23:30:58.000000000 +0100 +++ mongodb40/files/aarch64/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ ---- src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h.orig 2018-12-13 15:47:17 UTC -+++ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h -@@ -42,7 +42,7 @@ - #include - - // Fix system header issue on Sun solaris and define required type by ourselves --#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) -+#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) && !defined(_WCHAR_T_DECLARED) - typedef int wchar_t; - #endif - -@@ -150,7 +150,7 @@ typedef BID_UINT128 _Quad; - /////////////////////////////////////////////////////// - // This section may move to fenv_support.h - --#if !defined(__FENV_H_INCLUDED) && !defined (_FENV_H) && !defined(_FENV_INCLUDED) /* Otherwise we already defined fexcept_t type */ -+#if !defined(__FENV_H_INCLUDED) && !defined (_FENV_H) && !defined(_FENV_INCLUDED) && !defined (_FENV_H_) /* Otherwise we already defined fexcept_t type */ - #if defined(__ECL) || defined(__ECC) /* Intel(R) Itanium(R) architecture */ - /* Default 64-bit Floating Point Status Register */ - #if defined(__linux__) diff -urN /usr/ports/databases/mongodb40/files/aarch64/patch-src_third__party_mozjs-45_SConscript mongodb40/files/aarch64/patch-src_third__party_mozjs-45_SConscript --- /usr/ports/databases/mongodb40/files/aarch64/patch-src_third__party_mozjs-45_SConscript 2019-02-05 23:30:58.000000000 +0100 +++ mongodb40/files/aarch64/patch-src_third__party_mozjs-45_SConscript 1970-01-01 01:00:00.000000000 +0100 @@ -1,18 +0,0 @@ ---- src/third_party/mozjs-45/SConscript.orig 2019-01-18 20:35:17 UTC -+++ src/third_party/mozjs-45/SConscript -@@ -97,7 +97,6 @@ env.Prepend(CPPPATH=[ - sources = [ - "extract/js/src/builtin/RegExp.cpp", - "extract/js/src/frontend/Parser.cpp", -- "extract/js/src/jit/ProcessExecutableMemory.cpp", - "extract/js/src/jsarray.cpp", - "extract/js/src/jsatom.cpp", - "extract/js/src/jsmath.cpp", -@@ -112,6 +111,7 @@ sources = [ - - if env['TARGET_ARCH'] == 'x86_64' and not env.TargetOSIs('solaris'): - sources.extend([ -+ "extract/js/src/jit/ProcessExecutableMemory.cpp", - "extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp", - ]) -