git: ecfd918fed97 - main - devel/mimalloc: Update to 2.1.2

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 25 Apr 2023 08:24:44 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecfd918fed973bfb7d7ecd397f4b2854a9d85b0b

commit ecfd918fed973bfb7d7ecd397f4b2854a9d85b0b
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-04-25 08:24:39 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-04-25 08:24:39 +0000

    devel/mimalloc: Update to 2.1.2
---
 devel/mimalloc/Makefile                         |  2 +-
 devel/mimalloc/distinfo                         |  6 +++---
 devel/mimalloc/files/patch-src_prim_unix_prim.c | 11 -----------
 3 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/devel/mimalloc/Makefile b/devel/mimalloc/Makefile
index 64fb57a1040d..c0452ae57c2a 100644
--- a/devel/mimalloc/Makefile
+++ b/devel/mimalloc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mimalloc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.1
+DISTVERSION=	2.1.2
 CATEGORIES=	devel
 
 MAINTAINER=	ehaupt@FreeBSD.org
diff --git a/devel/mimalloc/distinfo b/devel/mimalloc/distinfo
index 14b553e736a4..23163d34c0cc 100644
--- a/devel/mimalloc/distinfo
+++ b/devel/mimalloc/distinfo
@@ -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
diff --git a/devel/mimalloc/files/patch-src_prim_unix_prim.c b/devel/mimalloc/files/patch-src_prim_unix_prim.c
deleted file mode 100644
index f74eb8199eaa..000000000000
--- a/devel/mimalloc/files/patch-src_prim_unix_prim.c
+++ /dev/null
@@ -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