From 373602c2a689edad12da8b7a60f4b8105ce8f5e6 Mon Sep 17 00:00:00 2001 From: Kyle Kloberdanz Date: Fri, 14 Apr 2023 15:10:03 -0500 Subject: [PATCH] add patch to fix build on MacOS Ventura --- etc/mongo-inteldfp-MONGOCRYPT-571.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 etc/mongo-inteldfp-MONGOCRYPT-571.patch diff --git a/etc/mongo-inteldfp-MONGOCRYPT-571.patch b/etc/mongo-inteldfp-MONGOCRYPT-571.patch new file mode 100644 index 000000000..f1999b773 --- /dev/null +++ b/etc/mongo-inteldfp-MONGOCRYPT-571.patch @@ -0,0 +1,25 @@ +diff --git a/src/third-party/IntelRDFPMathLib20U2/LIBRARY/float128/dpml_exception.c b/src/third-party/IntelRDFPMathLib20U2/LIBRARY/float128/dpml_exception.c +index d061a4c..916b41d 100755 +--- a/src/third-party/IntelRDFPMathLib20U2/LIBRARY/float128/dpml_exception.c ++++ b/src/third-party/IntelRDFPMathLib20U2/LIBRARY/float128/dpml_exception.c +@@ -132,6 +132,7 @@ + !defined(wnt) + + # include ++# include + # define DPML_SIGNAL(p) raise(SIGFPE) + + #else +diff --git a/src/third-party/IntelRDFPMathLib20U2/LIBRARY/src/bid_internal.h b/src/third-party/IntelRDFPMathLib20U2/LIBRARY/src/bid_internal.h +index cd08ea7..1892637 100755 +--- a/src/third-party/IntelRDFPMathLib20U2/LIBRARY/src/bid_internal.h ++++ b/src/third-party/IntelRDFPMathLib20U2/LIBRARY/src/bid_internal.h +@@ -30,6 +30,8 @@ + #ifndef __BIDECIMAL_H + #define __BIDECIMAL_H + ++#include ++ + #define _CRT_SECURE_NO_DEPRECATE + #if defined(_MSC_VER) && !defined(__INTEL_COMPILER) + # pragma warning( disable: 4996 )