Skip to content

Commit

Permalink
add patch to fix build on MacOS Ventura
Browse files Browse the repository at this point in the history
  • Loading branch information
kkloberdanz committed Apr 14, 2023
1 parent 962682b commit 373602c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/mongo-inteldfp-MONGOCRYPT-571.patch
Original file line number Diff line number Diff line change
@@ -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 <sys/signal.h>
+# include <signal.h>
# 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 <stdlib.h>
+
#define _CRT_SECURE_NO_DEPRECATE
#if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
# pragma warning( disable: 4996 )

0 comments on commit 373602c

Please sign in to comment.