svn commit: r561201 - head/lang/yap/files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Mon Jan 11 09:39:17 UTC 2021
Author: danilo
Date: Mon Jan 11 09:39:17 2021
New Revision: 561201
URL: https://svnweb.freebsd.org/changeset/ports/561201
Log:
lang/yap: Fix build. FreeBSD doesn't provide a struct mallinfo.
Added:
head/lang/yap/files/patch-H_dlmalloc.h (contents, props changed)
Added: head/lang/yap/files/patch-H_dlmalloc.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/yap/files/patch-H_dlmalloc.h Mon Jan 11 09:39:17 2021 (r561201)
@@ -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
+
More information about the svn-ports-all
mailing list