aboutsummaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_quickjs.c
diff options
context:
space:
mode:
authorThierry Thomas <thierry@freebsd.org>2022-09-23 06:47:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-23 06:51:10 +0000
commitd53f8e2377829d0cc9fa237e942481a763289e11 (patch)
tree0562714e7cfa284a2ce896a5788c788eac6f5b07 /math/giacxcas/files/patch-src_quickjs.c
parente6dc355e79244dfdd3d4d43f89fbf6eba73e77bd (diff)
Diffstat (limited to 'math/giacxcas/files/patch-src_quickjs.c')
-rw-r--r--math/giacxcas/files/patch-src_quickjs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/giacxcas/files/patch-src_quickjs.c b/math/giacxcas/files/patch-src_quickjs.c
new file mode 100644
index 000000000000..c330699c7c28
--- /dev/null
+++ b/math/giacxcas/files/patch-src_quickjs.c
@@ -0,0 +1,11 @@
+--- src/quickjs.c.orig 2021-03-23 12:33:15 UTC
++++ src/quickjs.c
+@@ -41,6 +41,8 @@
+ #include <malloc/malloc.h>
+ #elif defined(__linux__)
+ #include <malloc.h>
++#elif defined(__FreeBSD__)
++#include <malloc_np.h>
+ #endif
+
+ #ifdef EMCC