aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc')
-rw-r--r--devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc b/devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc
new file mode 100644
index 000000000000..3703f38fed76
--- /dev/null
+++ b/devel/electron13/files/patch-third__party_swiftshader_third__party_llvm-subzero_lib_Support_Unix_Process.inc
@@ -0,0 +1,11 @@
+--- third_party/swiftshader/third_party/llvm-subzero/lib/Support/Unix/Process.inc.orig 2021-01-07 00:39:39 UTC
++++ third_party/swiftshader/third_party/llvm-subzero/lib/Support/Unix/Process.inc
+@@ -35,7 +35,7 @@
+ // DragonFlyBSD, OpenBSD, and Bitrig have deprecated <malloc.h> for
+ // <stdlib.h> instead. Unix.h includes this for us already.
+ #if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) && \
+- !defined(__OpenBSD__) && !defined(__Bitrig__)
++ !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__Bitrig__)
+ #include <malloc.h>
+ #endif
+ #if defined(HAVE_MALLCTL)