mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
lang/yap: Fix build. FreeBSD doesn't provide a struct mallinfo.
This commit is contained in:
parent
a9fb0e5203
commit
f285e61454
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561201
1 changed files with 11 additions and 0 deletions
11
lang/yap/files/patch-H_dlmalloc.h
Normal file
11
lang/yap/files/patch-H_dlmalloc.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- H/dlmalloc.h.orig 2021-01-10 12:55:22 UTC
|
||||
+++ H/dlmalloc.h
|
||||
@@ -493,7 +493,7 @@ extern Void_t* sbrk();
|
||||
HAVE_USR_INCLUDE_MALLOC_H.
|
||||
*/
|
||||
|
||||
-#if HAVE_MALLOC_H && !defined(_WIN32) && !defined(__NetBSD_Version__)
|
||||
+#if HAVE_MALLOC_H && !defined(_WIN32) && !defined(__NetBSD_Version__) && !defined(__FreeBSD__)
|
||||
#define HAVE_USR_INCLUDE_MALLOC_H 1
|
||||
#endif
|
||||
|
Loading…
Add table
Reference in a new issue