Date: Mon, 11 Jan 2021 09:39:17 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561201 - head/lang/yap/files Message-ID: <202101110939.10B9dH61059889@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101110939.10B9dH61059889>