summaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_quickjs.c
diff options
context:
space:
mode:
authorThierry Thomas <thierry@freebsd.org>2022-09-22 23:47:30 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-22 23:51:10 -0700
commitd53f8e2377829d0cc9fa237e942481a763289e11 (patch)
tree0562714e7cfa284a2ce896a5788c788eac6f5b07 /math/giacxcas/files/patch-src_quickjs.c
parentwww/authelia: Update 4.36.7 -> 4.36.8 (diff)
math/giacxcas: Update 1.6.0-7 -> 1.9.0-21
The newly introduced bundled dependency micropython-1.12 causes SEGV and it was disabled.
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