1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

databases/mongodb40: fix aarch64 compilation

PR:		236366
Submitted by:	Ronald Klop <ronald-lists@klop.ws>
Approved by:	dev.ashevchuk@gmail.com (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2019-03-21 14:49:28 +00:00
parent aa84ea8616
commit a8d7d30091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496468
2 changed files with 0 additions and 38 deletions

View File

@ -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 <ctype.h>
// 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__)

View File

@ -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",
])