devel/mimalloc: Update to 2.1.2

This commit is contained in:
Emanuel Haupt 2023-04-25 10:24:39 +02:00
parent f382561861
commit ecfd918fed
3 changed files with 4 additions and 15 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= mimalloc
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.1
DISTVERSION= 2.1.2
CATEGORIES= devel
MAINTAINER= ehaupt@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1680853346
SHA256 (microsoft-mimalloc-v2.1.1_GH0.tar.gz) = 38b9660d0d1b8a732160191609b64057d8ccc3811ab18b7607bc93ca63a6010f
SIZE (microsoft-mimalloc-v2.1.1_GH0.tar.gz) = 1163057
TIMESTAMP = 1682410544
SHA256 (microsoft-mimalloc-v2.1.2_GH0.tar.gz) = 2b1bff6f717f9725c70bf8d79e4786da13de8a270059e4ba0bdd262ae7be46eb
SIZE (microsoft-mimalloc-v2.1.2_GH0.tar.gz) = 1163868

View file

@ -1,11 +0,0 @@
--- src/prim/unix/prim.c.orig 2023-04-03 19:32:28 UTC
+++ src/prim/unix/prim.c
@@ -169,7 +169,7 @@ static void* unix_mmap_prim(void* addr, size_t size, s
p = mmap(addr, size, protect_flags, flags | MAP_ALIGNED(n), fd, 0);
if (p==MAP_FAILED || !_mi_is_aligned(p,try_alignment)) {
int err = errno;
- _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, hint);
+ _mi_warning_message("unable to directly request aligned OS memory (error: %d (0x%x), size: 0x%zx bytes, alignment: 0x%zx, hint address: %p)\n", err, err, size, try_alignment, addr);
}
if (p!=MAP_FAILED) return p;
// fall back to regular mmap