git: 3999f48a8517 - main - graphics/instant-meshes: add missing #include <cassert>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 23:36:27 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3999f48a8517b968257827279a9d44d7005675ee
commit 3999f48a8517b968257827279a9d44d7005675ee
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-03-29 23:32:58 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-03-29 23:32:58 +0000
graphics/instant-meshes: add missing #include <cassert>
Reported by: bulk -t
Approved by: portmgr blanket
---
.../files/patch-ext_nanogui_include_nanogui_common.h | 10 ++++++++++
graphics/instant-meshes/files/patch-src_common.h | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/graphics/instant-meshes/files/patch-ext_nanogui_include_nanogui_common.h b/graphics/instant-meshes/files/patch-ext_nanogui_include_nanogui_common.h
new file mode 100644
index 000000000000..92b54293d8d2
--- /dev/null
+++ b/graphics/instant-meshes/files/patch-ext_nanogui_include_nanogui_common.h
@@ -0,0 +1,10 @@
+--- ext/nanogui/include/nanogui/common.h.orig 2016-10-15 20:12:12 UTC
++++ ext/nanogui/include/nanogui/common.h
+@@ -16,6 +16,7 @@
+ #include <stdint.h>
+ #include <array>
+ #include <vector>
++#include <cassert>
+
+ /* Set to 1 to draw boxes around widgets */
+ //#define NANOGUI_SHOW_WIDGET_BOUNDS 1
diff --git a/graphics/instant-meshes/files/patch-src_common.h b/graphics/instant-meshes/files/patch-src_common.h
new file mode 100644
index 000000000000..268b5e9cafad
--- /dev/null
+++ b/graphics/instant-meshes/files/patch-src_common.h
@@ -0,0 +1,10 @@
+--- src/common.h.orig 2017-09-06 16:18:14 UTC
++++ src/common.h
+@@ -30,6 +30,7 @@
+ #include <mutex>
+ #include <thread>
+ #include <algorithm>
++#include <cassert>
+
+ #define PARALLELIZE
+ #define SINGLE_PRECISION