git: 781f2808f29c - main - devel/ispc: Fix build on 13

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 01 Jun 2024 22:31:44 UTC
The branch main has been updated by yuri:

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

commit 781f2808f29cf9cfa9a478de44049a901f14e449
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-01 22:27:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-01 22:31:40 +0000

    devel/ispc: Fix build on 13
    
    PR:             279451
    Reported by:    bsdbugs_mr@pradmin.ru
---
 devel/ispc/files/patch-src_opt_ImproveMemoryOps.cpp       | 11 +++++++++++
 devel/ispc/files/patch-src_opt_ReplaceMaskedMemOps.cpp    | 10 ++++++++++
 devel/ispc/files/patch-src_opt_ReplacePseudoMemoryOps.cpp | 11 +++++++++++
 3 files changed, 32 insertions(+)

diff --git a/devel/ispc/files/patch-src_opt_ImproveMemoryOps.cpp b/devel/ispc/files/patch-src_opt_ImproveMemoryOps.cpp
new file mode 100644
index 000000000000..3e6b2f30359b
--- /dev/null
+++ b/devel/ispc/files/patch-src_opt_ImproveMemoryOps.cpp
@@ -0,0 +1,11 @@
+--- src/opt/ImproveMemoryOps.cpp.orig	2024-06-01 21:03:34 UTC
++++ src/opt/ImproveMemoryOps.cpp
+@@ -7,6 +7,8 @@
+ #include "ImproveMemoryOps.h"
+ #include "builtins-decl.h"
+ 
++#include <unordered_map>
++
+ namespace ispc {
+ 
+ using namespace builtin;
diff --git a/devel/ispc/files/patch-src_opt_ReplaceMaskedMemOps.cpp b/devel/ispc/files/patch-src_opt_ReplaceMaskedMemOps.cpp
new file mode 100644
index 000000000000..7995a00653fb
--- /dev/null
+++ b/devel/ispc/files/patch-src_opt_ReplaceMaskedMemOps.cpp
@@ -0,0 +1,10 @@
+--- src/opt/ReplaceMaskedMemOps.cpp.orig	2024-06-01 22:09:03 UTC
++++ src/opt/ReplaceMaskedMemOps.cpp
+@@ -9,6 +9,7 @@
+ #include <llvm/IR/IRBuilder.h>
+ #include <llvm/Transforms/Utils/Local.h>
+ 
++#include <unordered_map>
+ #include <numeric>
+ 
+ namespace ispc {
diff --git a/devel/ispc/files/patch-src_opt_ReplacePseudoMemoryOps.cpp b/devel/ispc/files/patch-src_opt_ReplacePseudoMemoryOps.cpp
new file mode 100644
index 000000000000..d8be02bca950
--- /dev/null
+++ b/devel/ispc/files/patch-src_opt_ReplacePseudoMemoryOps.cpp
@@ -0,0 +1,11 @@
+--- src/opt/ReplacePseudoMemoryOps.cpp.orig	2024-06-01 21:18:54 UTC
++++ src/opt/ReplacePseudoMemoryOps.cpp
+@@ -7,6 +7,8 @@
+ #include "ReplacePseudoMemoryOps.h"
+ #include "builtins-decl.h"
+ 
++#include <unordered_map>
++
+ namespace ispc {
+ 
+ using namespace builtin;