summaryrefslogtreecommitdiff
path: root/graphics/graphviz/files/patch-lib-vmalloc-vmhdr.h
blob: e5cffa97b1ac16f62efb0743dd711f3018844f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/vmalloc/vmhdr.h.orig	2016-11-07 02:32:54.935418000 +0000
+++ lib/vmalloc/vmhdr.h	2016-11-07 02:38:16.506108000 +0000
@@ -20,6 +20,10 @@
 #ifndef _BLD_vmalloc
 #define _BLD_vmalloc	1
 #endif
+#if defined(__FreeBSD__) && defined(__aarch64__)
+/* No sbrk on FreeBSD/AArch64 */
+#define _std_malloc	1
+#endif
 #ifdef WIN32
 #include <io.h>
 #endif